summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/project.py b/project.py
index e0e9b7fe..06606fa6 100644
--- a/project.py
+++ b/project.py
@@ -199,6 +199,7 @@ class ReviewableBranch(object):
199 199
200 def UploadForReview(self, people, 200 def UploadForReview(self, people,
201 auto_topic=False, 201 auto_topic=False,
202 hashtags=(),
202 draft=False, 203 draft=False,
203 private=False, 204 private=False,
204 notify=None, 205 notify=None,
@@ -209,6 +210,7 @@ class ReviewableBranch(object):
209 self.project.UploadForReview(self.name, 210 self.project.UploadForReview(self.name,
210 people, 211 people,
211 auto_topic=auto_topic, 212 auto_topic=auto_topic,
213 hashtags=hashtags,
212 draft=draft, 214 draft=draft,
213 private=private, 215 private=private,
214 notify=notify, 216 notify=notify,
@@ -1331,6 +1333,7 @@ class Project(object):
1331 def UploadForReview(self, branch=None, 1333 def UploadForReview(self, branch=None,
1332 people=([], []), 1334 people=([], []),
1333 auto_topic=False, 1335 auto_topic=False,
1336 hashtags=(),
1334 draft=False, 1337 draft=False,
1335 private=False, 1338 private=False,
1336 notify=None, 1339 notify=None,
@@ -1388,6 +1391,7 @@ class Project(object):
1388 opts = [] 1391 opts = []
1389 if auto_topic: 1392 if auto_topic:
1390 opts += ['topic=' + branch.name] 1393 opts += ['topic=' + branch.name]
1394 opts += ['t=%s' % p for p in hashtags]
1391 1395
1392 opts += ['r=%s' % p for p in people[0]] 1396 opts += ['r=%s' % p for p in people[0]]
1393 opts += ['cc=%s' % p for p in people[1]] 1397 opts += ['cc=%s' % p for p in people[1]]