Fix bug 901030
Change-Id: I72d50629df20de874217d536fa49217e941a2a99
This commit is contained in:
@@ -437,8 +437,11 @@ def download_review(review):
|
|||||||
print "Could not find a gerrit review with id: %s" % review
|
print "Could not find a gerrit review with id: %s" % review
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
topic = review_info['topic']
|
try:
|
||||||
if topic == "master":
|
topic = review_info['topic']
|
||||||
|
if topic == "master":
|
||||||
|
topic = review
|
||||||
|
except KeyError:
|
||||||
topic = review
|
topic = review
|
||||||
author = re.sub('\W+', '_', review_info['owner']['name']).lower()
|
author = re.sub('\W+', '_', review_info['owner']['name']).lower()
|
||||||
branch_name = "review/%s/%s" % (author, topic)
|
branch_name = "review/%s/%s" % (author, topic)
|
||||||
|
Reference in New Issue
Block a user