Skip to content

Commit 63a0209

Browse files
authored
Merge pull request certtools#2485 from barbich/fix-2484
Fixes certtools#2484
2 parents 861a202 + 5951201 commit 63a0209

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/feeds-config-generator/intelmq_gen_feeds_conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ import json
88
import sys
99

1010
try:
11-
import yaml
11+
from ruamel.yaml import YAML
12+
yaml = YAML(typ="safe", pure=True)
1213
except ImportError:
13-
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)
1415
sys.exit(-1)
1516

1617

0 commit comments

Comments
 (0)