fix status name usage
This commit is contained in:
parent
a88324d943
commit
3bc8b9edd4
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ class ApplyPatch:
|
|||
logging.info('This diff depends on: {}'.format(revision_list_to_str(dependencies)))
|
||||
plan = []
|
||||
for r in dependencies:
|
||||
if r['status']['value'] is 'closed':
|
||||
if r['statusName'] == 'Closed':
|
||||
logging.info(f'skipping revision {r["id"]} - it is closed, assuming it has landed')
|
||||
continue
|
||||
d = self.get_diff(r['diffs'][0])
|
||||
plan.append((r, d))
|
||||
|
|
Loading…
Reference in a new issue