-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Using @hosts or @roles decorator meddle with fab -d taskname output #1032
Comments
This is a duplicate of #971 |
cloverrose
added a commit
to cloverrose/fabric
that referenced
this issue
Oct 26, 2014
cloverrose
added a commit
to cloverrose/fabric
that referenced
this issue
Oct 26, 2014
cloverrose
added a commit
to cloverrose/fabric
that referenced
this issue
Nov 1, 2014
mvk
added a commit
to mvk/fabric
that referenced
this issue
Mar 4, 2015
- fixes fabric/fabric fabric#971 - fixes fabric/fabric fabric#1032
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's a small bug, but still...
alex~$ cat fabfile.py
from fabric.api import *
@task
@roles('fake_role')
def broken_task(my_argument=True):
'''Arguments is ok only if @roles is missing'''
local('Hello world!')
alex~$ fab -d broken_task
Displaying detailed information for task 'broken_task':
alex~$ sed -i '/fake_role/d' fabfile.py
alex~$ fab -d broken_task
Displaying detailed information for task 'broken_task':
The text was updated successfully, but these errors were encountered: