api: added proper full permission flush on API calls when creating repos and repo groups.
- This allows a full flush and multiple calls made via API
This commit is contained in:
parent
56421dc214
commit
9f13849af9
5 changed files with 10 additions and 13 deletions
|
|
@ -131,7 +131,7 @@ class IntegrationTypeBase(object):
|
|||
:param event:
|
||||
:return: bool
|
||||
"""
|
||||
allowed_events = self.settings['events']
|
||||
allowed_events = self.settings.get('events') or []
|
||||
if event.name not in allowed_events:
|
||||
log.debug('event ignored: %r event %s not in allowed set of events %s',
|
||||
event, event.name, allowed_events)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue