Rename variable in load_yaml to match load_json

This commit is contained in:
Anders Ingemann 2014-07-16 22:05:54 +02:00
parent 5420b7e546
commit e41dbdd807

View file

@ -72,8 +72,8 @@ def load_json(path):
def load_yaml(path):
import yaml
with open(path, 'r') as fobj:
return yaml.safe_load(fobj)
with open(path, 'r') as stream:
return yaml.safe_load(stream)
def load_data(path):