leaper: reset automatic_submission to False on each review.
Perhaps this should be handled on a larger scale where initial variable states are not set in __init__ but rather in special method or reset in some manor.
This commit is contained in:
parent
546fe96c74
commit
5f77f48437
@ -125,6 +125,7 @@ class Leaper(ReviewBot.ReviewBot):
|
||||
|
||||
def check_source_submission(self, src_project, src_package, src_rev, target_project, target_package):
|
||||
super(Leaper, self).check_source_submission(src_project, src_package, src_rev, target_project, target_package)
|
||||
self.automatic_submission = False
|
||||
|
||||
if src_project == target_project and src_package == target_package:
|
||||
self.logger.info('self submission detected')
|
||||
|
Loading…
x
Reference in New Issue
Block a user