Created
February 28, 2014 19:23
-
-
Save aroberts/9277871 to your computer and use it in GitHub Desktop.
Underscored positional argument bug in invoke 0.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ inv working | |
'working' did not receive all required positional arguments! | |
$ inv nonworking | |
should error | |
$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import invoke | |
@invoke.task | |
def working(arg): | |
print "should error" | |
@invoke.task | |
def nonworking(bad_arg): | |
print "should error" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment