Commit f00a435c authored by Phillip Smyth's avatar Phillip Smyth
Browse files

_artifactcache/pushreceive.py: Modified incorrect error message

changed encode_message push exception from
'Command must by GLib.Variant'
to
'Command must be PushCommand'
parent 0916d81e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ class PushMessageWriter(object):

    def encode_message(self, command):
        if not isinstance(command, PushCommand):
            raise PushException('Command must by GLib.Variant')
            raise PushException('Command must be PushCommand')
        data = command.variant.get_data_as_bytes()
        size = data.get_size()