Skip to content

Commit 646b535

Browse files
committed
Merge pull request #1 from MinchinWeb/load-not-binary
Don't load as binary
2 parents 2ea56cb + 668aea4 commit 646b535

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reyaml/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ def load(raw):
3838

3939
def load_from_file(path):
4040
'''Load a YAML file and return its contents as a dictionary'''
41-
with open(path, 'rb') as f:
41+
with open(path, 'r') as f:
4242
raw = f.read()
4343
return load(raw)

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
setup(
88
name = 'reyaml',
99
packages = ['reyaml'], # this must be the same as the name above
10-
version = '0.2',
10+
version = '0.2.1',
1111
long_description=LONG_DESC,
1212
description = 'Reader of humane YAML files',
1313
author = 'Alex Railean',
1414
author_email = '[email protected]',
1515
url = 'https://github.com/ralienpp/reyaml',
16-
download_url = 'https://github.com/ralienpp/reyaml/tarball/0.2',
16+
download_url = 'https://github.com/ralienpp/reyaml/tarball/0.2.1',
1717
keywords = ['yaml', 'parser', 'configuration', 'config'],
1818
license = 'BSD',
1919
classifiers = [

0 commit comments

Comments
 (0)