Skip to content
Open
Show file tree
Hide file tree
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 aptly/publisher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

def load_publish(publish):
with open(publish, 'r') as publish_file:
return yaml.load(publish_file)
return yaml.safe_load(publish_file)


class PublishManager(object):
Expand Down
2 changes: 1 addition & 1 deletion aptly/publisher/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

def load_config(config):
with open(config, 'r') as fh:
return yaml.load(fh)
return yaml.safe_load(fh)


def get_latest_snapshot(snapshots, name):
Expand Down