From 710d4b03911bc6fc0b313af56e81b957ccae2348 Mon Sep 17 00:00:00 2001 From: Bryan Jacobs Date: Fri, 31 May 2013 15:28:05 -0400 Subject: [PATCH] Fix a bug in repo upload --cbr repo upload --cbr bailed out if some branches did not have modifications when it is used. Change-Id: I35f264ff7d77bb4bf8f26b4c3faffa184920b6c5 --- subcmds/upload.py | 2 ++ 1 file changed, 2 insertions(+) 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