cm: build: Don't convert patchset to int if it's None

* donuts *

Change-Id: I65bfb1741481b01874f21d83b5a43b0902b7d8ea
gugelfrei
LuK1337 7 years ago
parent 2756418873
commit ad5d9a0ff0

@ -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)

Loading…
Cancel
Save