mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-24 21:47:48 +02:00
whitespace issue pt2
This commit is contained in:
@@ -211,7 +211,7 @@ def replaceListObjectByCondition(content, key, conditionField, conditionValue, n
|
|||||||
if not found:
|
if not found:
|
||||||
print(f"No list item found with {conditionField}={conditionValue}. No action was taken on the file.", file=sys.stderr)
|
print(f"No list item found with {conditionField}={conditionValue}. No action was taken on the file.", file=sys.stderr)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
print("The existing value for the given key is not a list. No action was taken on the file.", file=sys.stderr)
|
print("The existing value for the given key is not a list. No action was taken on the file.", file=sys.stderr)
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user