summaryrefslogtreecommitdiff
path: root/morphlib/buildbranch.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/buildbranch.py')
-rw-r--r--morphlib/buildbranch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildbranch.py b/morphlib/buildbranch.py
index 546a29d5..d415e7e1 100644
--- a/morphlib/buildbranch.py
+++ b/morphlib/buildbranch.py
@@ -217,7 +217,7 @@ class BuildBranch(object):
# current HEAD
if self._push_temporary:
with morphlib.branchmanager.RemoteRefManager(False) as rrm:
- for gd, build_ref in self._to_push.iterkeys():
+ for gd, (build_ref, index) in self._to_push.iteritems():
remote = gd.get_remote('origin')
yield gd, build_ref, remote
refspec = morphlib.gitdir.RefSpec(build_ref)