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

better error message when forget to call sub-command #29

Open
kurtbrose opened this issue Jun 13, 2017 · 0 comments
Open

better error message when forget to call sub-command #29

kurtbrose opened this issue Jun 13, 2017 · 0 comments

Comments

@kurtbrose
Copy link
Contributor

I find myself mistakenly doing this:

executor.git.stash.redirect()

When it should be:

executor.git.stash().redirect()

This happens so often, it would be nice if there was either a consistent way to make it work, or a nice error message. Currently you get something like this AttributeError: 'functools.partial' object has no attribute 'batch'

(This is similar to the other issue about functools.partial AttributeError but a different way to cause the error I think.)

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

1 participant