Skip to content
Snippets Groups Projects
Commit 25655f21 authored by Jeremy Auguste's avatar Jeremy Auguste
Browse files

Included error message if pyyaml is not installed on the system

parent 055aff17
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,12 @@
import argparse
import logging
import sys
try:
import yaml
except ImportError:
print("Package 'pyyaml' needs to be installed to be able to use this script!", file=sys.stderr)
exit(1)
import subprocess
from collections import defaultdict
import re
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment