summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/_artifactcache/pushreceive.py2
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()