Merge pull request #2348 from coolo/fix_installcheck

staging-installcheck: Port to use XML to check delete requests
This commit is contained in:
Stephan Kulow 2019-11-29 12:34:27 +01:00 committed by GitHub
commit 411c045284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class InstallChecker(object):
return False
def check_delete_request(self, req, to_ignore, comments):
package = req['package']
package = req.get('package')
if package in to_ignore:
self.logger.info('Delete request for package {} ignored'.format(package))
return True