Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #33 #34

Merged
merged 1 commit into from Dec 29, 2017
Merged

Fix #33 #34

merged 1 commit into from Dec 29, 2017

Conversation

momijiame
Copy link
Contributor

This patch will switch to use __future__.print_function.
By this, It will be able to use print() function at Python 2.x and 3.x as well.

$ python
Python 3.6.3 (default, Oct 10 2017, 01:16:10) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from eralchemy import helpers
>>> helpers.fail('test')
Error: test
$ python 
Python 3.6.3 (default, Oct 10 2017, 01:16:10) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from script import make_release
>>> make_release.info('test')
Error: test
>>> make_release.fail('test')
Error: test
$ python
Python 2.7.10 (default, Feb  7 2017, 00:08:15) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from eralchemy import helpers
>>> helpers.fail('test')
Error: test
$ python
Python 2.7.10 (default, Feb  7 2017, 00:08:15) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> from script import make_release
>>> make_release.info('test')
Error: test
>>> make_release.fail('test')
Error: test

@Alexis-benoist Alexis-benoist merged commit 7906bff into Alexis-benoist:master Dec 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants