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

Comments

@shaftoe
Copy link

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 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 added a commit to mvk/fabric that referenced this issue Mar 4, 2015
bitprophet pushed 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants