cm: build: Don't convert patchset to int if it's None
* donuts * Change-Id: I65bfb1741481b01874f21d83b5a43b0902b7d8ea
This commit is contained in:
@@ -268,7 +268,10 @@ if __name__ == '__main__':
|
||||
continue
|
||||
|
||||
change = int(change)
|
||||
patchset = int(patchset)
|
||||
|
||||
if patchset is not None:
|
||||
patchset = int(patchset)
|
||||
|
||||
review = next((x for x in reviews if x['number'] == change), None)
|
||||
if review is None:
|
||||
print('Change %d not found, skipping' % change)
|
||||
|
Reference in New Issue
Block a user