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

Arbitrary commands (fab -- mycommandhere) break without fabfile #230

Closed
bitprophet opened this issue Aug 19, 2011 · 2 comments
Closed

Arbitrary commands (fab -- mycommandhere) break without fabfile #230

bitprophet opened this issue Aug 19, 2011 · 2 comments
Milestone

Comments

@bitprophet
Copy link
Member

Description

In other words, this feature was never tested outside of a Fabric project tree. It occurs in both 0.9.2 and master. Should hopefully be a simple reordering or logic fix in main.py.

Reported by orkaa @ Freenode.


Originally submitted by Jeff Forcier (bitprophet) on 2010-09-06 at 01:59pm EDT


Closed as Done on 2010-09-06 at 03:28pm EDT

@ghost ghost assigned bitprophet Aug 19, 2011
@bitprophet
Copy link
Member Author

Jeff Forcier (bitprophet) posted:


Applied in changeset f9de459.


on 2010-09-06 at 03:28pm EDT

@alisaifee
Copy link

This issue is occurring again:

$ fab -H localhost -- uname -a
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/Fabric-1.4a._01a6377_-py2.7.egg/fabric/main.py", line 600, in main
     arguments, remainder_arguments, default)
UnboundLocalError: local variable 'default' referenced before assignment

quick fix here : https://github.com/alisaifee/fabric/commit/6d50cbc85f7216062fd20050e2adbafa9fcfbc33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants