allow ability to skip event notification
This commit is contained in:
parent
bbc4920c4c
commit
e0bc85503b
1
etags.py
1
etags.py
|
@ -81,6 +81,7 @@ def process_changes(changed):
|
|||
printerr('DDB did not process item with url %s' %
|
||||
item['PutRequest']['Item']['PK']['S'])
|
||||
unprocessed[item['PutRequest']['Item']['PK']['S']] = True
|
||||
if event_bus_name != '':
|
||||
response = events.put_events(
|
||||
Entries=[create_event(item) for item in
|
||||
filter(lambda k: k['url'] not in unprocessed, changed)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user