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

Using @hosts or @roles decorator meddle with fab -d taskname output #1032

Closed
shaftoe opened this issue Dec 3, 2013 · 1 comment
Closed

Using @hosts or @roles decorator meddle with fab -d taskname output #1032

shaftoe opened this issue Dec 3, 2013 · 1 comment

Comments

@shaftoe
Copy link

@shaftoe shaftoe commented Dec 3, 2013

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':

Arguments is ok only if @roles is missing
Arguments:

alex~$ sed -i '/fake_role/d' fabfile.py

alex~$ fab -d broken_task
Displaying detailed information for task 'broken_task':

Arguments is ok only if @roles is missing
Arguments: my_argument=True
@akitada
Copy link

@akitada akitada commented Dec 23, 2013

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 pushed a commit to mvk/fabric that referenced this issue Mar 4, 2015
@bitprophet bitprophet closed this Mar 9, 2015
bitprophet added a commit that referenced this issue Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants