Fixes listing branches for when using source code

This commit is contained in:
Adam 2014-08-11 19:41:53 +08:00
parent 90146d33fa
commit 0abbdf3d44
1 changed files with 1 additions and 1 deletions

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]