summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-04-19 09:27:19 +0200
committerJürg Billeter <j@bitron.ch>2018-04-30 11:03:43 +0200
commit6f1d15521008cae0f0df035c3674b49c6bf1c621 (patch)
tree3fc71dec144ab27729ba2186e2be33ab2a78ef01
parentd1c3d705e196122086a7599bad0d79a52c71830d (diff)
downloadbuildstream-6f1d15521008cae0f0df035c3674b49c6bf1c621.tar.gz
_artifactcache/pushreceive.py: Do not return True for skipped push
-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 b1705d8f0..ec7d4686b 100644
--- a/buildstream/_artifactcache/pushreceive.py
+++ b/buildstream/_artifactcache/pushreceive.py
@@ -519,7 +519,7 @@ class OSTreePusher(object):
if not update_refs:
logging.info('Nothing to update')
self.writer.send_done()
- return self.close()
+ raise PushExistsException('Nothing to update')
# Send update command
logging.info('Sending update request')