Allow download of reviews from deleted accounts
Change-Id: Ib85345e36087c4f1e2807b854a1805cf71ea79c8
This commit is contained in:
@@ -678,7 +678,7 @@ def download_review(review, remote, masterbranch):
|
||||
if not topic or topic == masterbranch:
|
||||
topic = review
|
||||
|
||||
author = re.sub('\W+', '_', r.owner.name.lower())
|
||||
author = re.sub('\W+', '_', r.owner.name.lower()) if r.owner else 'unknown'
|
||||
branch_name = "review/%s/%s" % (author, topic)
|
||||
revision = r.patchset.revision
|
||||
refspec = r.patchset.ref
|
||||
|
||||
Reference in New Issue
Block a user