Merge pull request #540 from nilxam/fix_api_import
Fix wrong valiable used in the filtering statement
This commit is contained in:
commit
5cd4811bc9
@ -109,7 +109,7 @@ class RequestFinder(object):
|
||||
for sr in root.findall('request'):
|
||||
# ensure staging tool don't picks the processed request again
|
||||
if newcand:
|
||||
staging_group_states = [review.get('state') for review in root.findall('review') if review.get('by_group') == self.cstaging_group]
|
||||
staging_group_states = [review.get('state') for review in sr.findall('review') if review.get('by_group') == self.api.cstaging_group]
|
||||
if 'new' not in staging_group_states:
|
||||
continue
|
||||
for act in sr.findall('action'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user