Skip to content

Commit

Permalink
Merge pull request #1 from MinchinWeb/load-not-binary
Browse files Browse the repository at this point in the history
Don't load as binary
  • Loading branch information
ralienpp committed Apr 12, 2016
2 parents 2ea56cb + 668aea4 commit 646b535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reyaml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def load(raw):

def load_from_file(path):
'''Load a YAML file and return its contents as a dictionary'''
with open(path, 'rb') as f:
with open(path, 'r') as f:
raw = f.read()
return load(raw)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
setup(
name = 'reyaml',
packages = ['reyaml'], # this must be the same as the name above
version = '0.2',
version = '0.2.1',
long_description=LONG_DESC,
description = 'Reader of humane YAML files',
author = 'Alex Railean',
author_email = '[email protected]',
url = 'https://github.com/ralienpp/reyaml',
download_url = 'https://github.com/ralienpp/reyaml/tarball/0.2',
download_url = 'https://github.com/ralienpp/reyaml/tarball/0.2.1',
keywords = ['yaml', 'parser', 'configuration', 'config'],
license = 'BSD',
classifiers = [
Expand Down

0 comments on commit 646b535

Please sign in to comment.