diff options
author | Phillip Smyth <phillipsmyth@Nexus-x240.dyn.ducie.codethink.co.uk> | 2018-05-01 12:26:18 +0100 |
---|---|---|
committer | Phillip Smyth <phillipsmyth@Nexus-x240.dyn.ducie.codethink.co.uk> | 2018-05-01 12:34:19 +0100 |
commit | f00a435ce51e9fe929615a34be82bbd77d8f1c12 (patch) | |
tree | 0201c14fc576f64fbbb398421cd6278c2ba3d8b6 | |
parent | 0916d81e25bb57e4f6d8109fefcbd0ed8f33c371 (diff) | |
download | buildstream-f00a435ce51e9fe929615a34be82bbd77d8f1c12.tar.gz |
_artifactcache/pushreceive.py: Modified incorrect error message
changed encode_message push exception from
'Command must by GLib.Variant'
to
'Command must be PushCommand'
-rw-r--r-- | buildstream/_artifactcache/pushreceive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/pushreceive.py b/buildstream/_artifactcache/pushreceive.py index ec7d4686b..777065e18 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -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() |