mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-01-22 07:34:33 +01:00
2to3 updates
This commit is contained in:
@@ -26,7 +26,7 @@ class Output(cowrie.core.output.Output):
|
||||
pass
|
||||
|
||||
def write(self, logentry):
|
||||
for i in logentry.keys():
|
||||
for i in list(logentry.keys()):
|
||||
# remove twisted 15 legacy keys
|
||||
if i.startswith('log_'):
|
||||
del logentry[i]
|
||||
|
||||
Reference in New Issue
Block a user