patchinfos have no release project!
This commit is contained in:
parent
e69a762f4d
commit
7cbedd5e19
@ -154,6 +154,7 @@ class ReviewBot(object):
|
||||
def check_action_maintenance_incident(self, req, a):
|
||||
dst_package = a.src_package
|
||||
# dirty obs crap
|
||||
if a.tgt_releaseproject is not None:
|
||||
ugly_suffix = '.'+a.tgt_releaseproject.replace(':', '_')
|
||||
if dst_package.endswith(ugly_suffix):
|
||||
dst_package = dst_package[:-len(ugly_suffix)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user