Code fix for attribute error

This commit is contained in:
echel0n 2014-08-09 17:28:15 +00:00
parent 50b91f9d7c
commit 9714fc3299
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()]
return [x.name for x in gh.branches() if x and 'name' in x]