parent
460ccf2dfd
commit
3f8d51ebd7
2 changed files with 41 additions and 0 deletions
|
@ -18,6 +18,10 @@ def process_notification_data(notification_data):
|
|||
""" Processes the given notification data to spawn vulnerability notifications as necessary.
|
||||
Returns whether the processing succeeded.
|
||||
"""
|
||||
if not 'New' in notification_data:
|
||||
# Nothing to do.
|
||||
return True
|
||||
|
||||
new_data = notification_data['New']
|
||||
old_data = notification_data.get('Old', {})
|
||||
|
||||
|
|
Reference in a new issue