Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion github_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def read_config(self):
config_file_name = self._organization_name + "-conf.yml"
try:
with open(config_file_name) as config_file:
config = yaml.load(config_file)
config = yaml.load(config_file, Loader=yaml.FullLoader)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using yaml.safe_load(..) would be better

return config
except IOError:
print("Couldn't load configuration file ‘%s’. "
Expand Down