Commit 1484885 1 parent 07ce4c3 commit 1484885 Copy full SHA for 1484885
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ class HelpFile(HelpObject):
123
123
def _load_help_file_from_string (text ):
124
124
import yaml
125
125
try :
126
- return yaml .load (text ) if text else None
126
+ return yaml .safe_load (text ) if text else None
127
127
except Exception : # pylint: disable=broad-except
128
128
return text
129
129
Original file line number Diff line number Diff line change 11
11
def _load_help_file (delimiters ):
12
12
import yaml
13
13
if delimiters in helps :
14
- return yaml .load (helps [delimiters ])
14
+ return yaml .safe_load (helps [delimiters ])
15
15
return None
Original file line number Diff line number Diff line change 9
9
from codecs import open
10
10
from setuptools import setup , find_packages
11
11
12
- VERSION = '0.5.1 '
12
+ VERSION = '0.5.2 '
13
13
14
14
DEPENDENCIES = [
15
15
'argcomplete' ,
You can’t perform that action at this time.
0 commit comments