Skip to content

Commit

Permalink
change to yaml.safe_load. ignore output artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
glicht committed Jan 16, 2019
1 parent 3151330 commit 45c8024
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
commonServerJsDoc.js
commonServerJsDoc.json
doc-CommonServer.json
2 changes: 1 addition & 1 deletion Documentation/common_server_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def readJsonFile(filepath):

def readYmlFile(filepath):
with open(filepath, 'r') as f:
out = yaml.load(f)
out = yaml.safe_load(f)
return out
return []

Expand Down
2 changes: 1 addition & 1 deletion Documentation/extract_common_server_js.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def readFile(filepath):
with open(filepath, 'r') as f:
out = yaml.load(f)
out = yaml.safe_load(f)
return out
return []

Expand Down

0 comments on commit 45c8024

Please sign in to comment.