File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 40
40
- The requirement can only be installed on Python version < 3.12.
41
41
- Add a check on the Python version and exit if incompatible.
42
42
- Add a deprecation warning (PR #2544 by Sebastian Wagner)
43
+ - ` intelmq.bots.outputs.sql.output ` :
44
+ - Treat an empty string ` fields ` parameter as unset parameter, fixing a crash in default configuration (PR #2548 by Sebastian Wagner, fixes #2548 ).
43
45
44
46
### Documentation
45
47
- ` docs/admin/installation/linux-packages ` : Add ` [signed-by=] ` options, add wget command as alternative to curl (PR #2547 by Sebastian Wagner).
Original file line number Diff line number Diff line change @@ -43,9 +43,7 @@ def init(self):
43
43
def process (self ):
44
44
event = self .receive_message ().to_dict (jsondict_as_string = self .jsondict_as_string )
45
45
46
- key_names = self .fields
47
- if key_names is None :
48
- key_names = event .keys ()
46
+ key_names = self .fields or event .keys ()
49
47
valid_keys = [key for key in key_names if key in event ]
50
48
keys = '", "' .join (valid_keys )
51
49
values = self .prepare_values (itemgetter_tuple (* valid_keys )(event ))
You can’t perform that action at this time.
0 commit comments