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

subcommands don't work in python3.6 #8

Open
chrisamow opened this issue Feb 23, 2017 · 1 comment
Open

subcommands don't work in python3.6 #8

chrisamow opened this issue Feb 23, 2017 · 1 comment

Comments

@chrisamow
Copy link

chrisamow commented Feb 23, 2017

The git_clone example - with the needed print() change (ok, maybe giveaway that it wasn't designed for python3 :) but the other options stuff does work!)

'git_clone.py -h' does not print anything

'git_clone.py commit' does not get to the commit method()

@reverbc
Copy link
Contributor

reverbc commented Apr 13, 2017

The example in README.rst is not a complete one.

All you need is to add the following code at the bottom of sample code:

if __name__ == '__main__':
    GitClone()

or you can refer to the example code in examples folder.

I've tested in Python 3.6.1 without problem :)

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

No branches or pull requests

2 participants