We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 861a202 + 5951201 commit 63a0209Copy full SHA for 63a0209
contrib/feeds-config-generator/intelmq_gen_feeds_conf
@@ -8,9 +8,10 @@ import json
8
import sys
9
10
try:
11
- import yaml
+ from ruamel.yaml import YAML
12
+ yaml = YAML(typ="safe", pure=True)
13
except ImportError:
- print("[-] Please install yaml using the following command: 'pip install pyyaml'.", file=sys.stderr)
14
+ print("[-] Please install ruamel.yaml using the following command: 'pip install ruamel.yaml'.", file=sys.stderr)
15
sys.exit(-1)
16
17
0 commit comments