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
Jeff Forcier (bitprophet) posted:
Applied in changeset f9de459.
on 2010-09-06 at 03:28pm EDT
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 : alisaifee@6d50cbc
Fix regression re #230, thanks alisaifee