summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index f5833dd3..74c287d0 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -344,7 +344,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
344 key = 'review.%s.uploadtopic' % branch.project.remote.review 344 key = 'review.%s.uploadtopic' % branch.project.remote.review
345 opt.auto_topic = branch.project.config.GetBoolean(key) 345 opt.auto_topic = branch.project.config.GetBoolean(key)
346 346
347 destination = opt.dest_branch or branch.project.dest_branch or branch.project.revisionExpr 347 destination = opt.dest_branch or branch.project.dest_branch
348 branch.UploadForReview(people, auto_topic=opt.auto_topic, draft=opt.draft, dest_branch=destination) 348 branch.UploadForReview(people, auto_topic=opt.auto_topic, draft=opt.draft, dest_branch=destination)
349 branch.uploaded = True 349 branch.uploaded = True
350 except UploadError as e: 350 except UploadError as e: