Merge pull request #709 from adam111316/fix_branches

Fixes listing branches for when using source code
This commit is contained in:
echel0n 2014-08-12 18:32:10 -07:00
commit d22f326737

View file

@ -758,4 +758,4 @@ class SourceUpdateManager(UpdateManager):
def list_remote_branches(self):
gh = github.GitHub(self.github_repo_user, self.github_repo, self.branch)
return [x.name for x in gh.branches() if x and 'name' in x]
return [x['name'] for x in gh.branches() if x and 'name' in x]