diff --git a/subcmds/upload.py b/subcmds/upload.py index 4a22e26a..c051f183 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py @@ -224,6 +224,8 @@ Gerrit Code Review: http://code.google.com/p/gerrit/ b = {} for branch in avail: + if branch is None: + continue name = branch.name date = branch.date commit_list = branch.commits