On Sun, Feb 15, 2009 at 9:27 PM, Mike Panchenko
<address@hidden> wrote:
I have a file named fabfile.py and was literally just testing out basic functionality using 0.0.9 and the user guide.
def staging():
config.fab_hosts = ['my.staging.host.com']
def hello_remote():
"""prints hello on the remote hosts"""
run("echo hello from $(fab_host) to $(fab_user)")
I get
config.fab_hosts = ['my.staging.host.com']
NameError: global name 'config' is not defined
when I run
fab staging hello_remote
am I missing something really trivial? All the sample files on git don't seem to have anything special defined for config before using it. Thanks.
Mike.
_______________________________________________
Fab-user mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/fab-user