Skip to content

Commit

Permalink
{AH} increase version to 1.3.4, bugfix for py2
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasHeger committed May 25, 2017
1 parent 737a53c commit 6c4a760
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doc/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
Release Notes
=============

1.3.4:
* Bugifxes to (hopefully) complete python 2/3 compatibility.

1.3.0:

* GAT now works under python 2 and python 3
Expand Down
5 changes: 4 additions & 1 deletion gat/IOTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,5 +542,8 @@ def openFile(filename, mode="r", create_dir=False, encoding="utf-8"):
else:
return gzip.open(filename, mode)
else:
return open(filename, mode, encoding=encoding)
if sys.version_info.major >= 3:
return open(filename, mode, encoding=encoding)
else:
return open(filename, mode)

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@


name = "gat"
version = "1.3.3"
version = "1.3.4"

classifiers = """
Development Status :: 4 - Beta
Expand Down

0 comments on commit 6c4a760

Please sign in to comment.