diff options
author | Jürg Billeter <j@bitron.ch> | 2018-04-19 10:53:33 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-04-30 11:03:43 +0200 |
commit | d1c3d705e196122086a7599bad0d79a52c71830d (patch) | |
tree | 7f37a65ec7a3acd1d5b3d09eefa5f0979bd90aca /buildstream/_artifactcache | |
parent | 06ae434a7017edbf67bf46c3fe2e327466801787 (diff) | |
download | buildstream-d1c3d705e196122086a7599bad0d79a52c71830d.tar.gz |
_artifactcache/pushreceive.py: Fix commit object check in send_info()
Fixes #325.
Diffstat (limited to 'buildstream/_artifactcache')
-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 a1282d32d..b1705d8f0 100644 --- a/buildstream/_artifactcache/pushreceive.py +++ b/buildstream/_artifactcache/pushreceive.py @@ -155,7 +155,7 @@ class PushMessageWriter(object): for ref in refs: _, checksum = repo.resolve_rev(ref, True) if checksum: - _, has_object = repo.has_object(OSTree.ObjectType.COMMIT, ref, None) + _, has_object = repo.has_object(OSTree.ObjectType.COMMIT, checksum, None) if has_object: ref_map[ref] = checksum |