fab-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Fab-user] "global name 'config' is not defined" am I doing something du
From
:
Mike Panchenko
Subject
:
[Fab-user] "global name 'config' is not defined" am I doing something dumb?
Date
:
Sun, 15 Feb 2009 19:27:50 -0800
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.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Fab-user] "global name 'config' is not defined" am I doing something dumb?
,
Mike Panchenko
<=
Re: [Fab-user] "global name 'config' is not defined" am I doing something dumb?
,
Alex Robbins
,
2009/02/15
Prev by Date:
Re: [Fab-user] Proposal: remote execution of Python code
Next by Date:
Re: [Fab-user] "global name 'config' is not defined" am I doing something dumb?
Previous by thread:
Re: [Fab-user] Proposal: remote execution of Python code
Next by thread:
Re: [Fab-user] "global name 'config' is not defined" am I doing something dumb?
Index(es):
Date
Thread