1
0
mirror of https://github.com/moparisthebest/SickRage synced 2025-03-04 10:29:52 -05:00

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): def list_remote_branches(self):
gh = github.GitHub(self.github_repo_user, self.github_repo, self.branch) 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]