summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/upload.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py
index 6a98a8bd..de3fe857 100644
--- a/subcmds/upload.py
+++ b/subcmds/upload.py
@@ -99,8 +99,6 @@ or in the .git/config within the project. For example:
99 def _SingleBranch(self, branch, people): 99 def _SingleBranch(self, branch, people):
100 project = branch.project 100 project = branch.project
101 name = branch.name 101 name = branch.name
102 date = branch.date
103 list = branch.commits
104 remote = project.GetBranch(name).remote 102 remote = project.GetBranch(name).remote
105 103
106 key = 'review.%s.autoupload' % remote.review 104 key = 'review.%s.autoupload' % remote.review
@@ -110,6 +108,9 @@ or in the .git/config within the project. For example:
110 _die("upload blocked by %s = false" % key) 108 _die("upload blocked by %s = false" % key)
111 109
112 if answer is None: 110 if answer is None:
111 date = branch.date
112 list = branch.commits
113
113 print 'Upload project %s/:' % project.relpath 114 print 'Upload project %s/:' % project.relpath
114 print ' branch %s (%2d commit%s, %s):' % ( 115 print ' branch %s (%2d commit%s, %s):' % (
115 name, 116 name,