We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 699069e + 5a3ad57 commit 3290bb5Copy full SHA for 3290bb5
1 file changed
dparse/parser.py
@@ -2,7 +2,6 @@
2
from __future__ import unicode_literals, absolute_import
3
from collections import OrderedDict
4
import re
5
-import yaml
6
7
from io import StringIO
8
@@ -301,6 +300,7 @@ def parse(self):
301
300
302
:return:
303
"""
+ import yaml
304
try:
305
data = yaml.safe_load(self.obj.content)
306
if data and 'dependencies' in data and isinstance(data['dependencies'], list):
0 commit comments