git_handler.get_changed_refs: remove now-unused all_heads variable

This commit is contained in:
Siddharth Agarwal 2014-10-29 13:12:43 -07:00
parent f842185378
commit d3891945ec

View File

@ -956,7 +956,6 @@ class GitHandler(object):
def get_changed_refs(self, refs, exportable, force):
new_refs = refs.copy()
all_heads = self.local_heads()
#The remote repo is empty and the local one doesn't have bookmarks/tags
if refs.keys()[0] == 'capabilities^{}':