|
From: | Trevor Hunsaker |
Subject: | [Fab-user] NameError: name 'config' is not defined |
Date: | Fri, 17 Jul 2009 16:50:24 -0600 |
New to Fabric, just trying out the basics: My fabfile.py is: config.fab_hosts = [‘myHost.com'] def test(): "Deploy
current state of repo to test server" run("echo
howdy to me") When I run `fab test` I get the following error: Traceback (most recent call last): File
"build\bdist.win32\egg\fabric\main.py", line 398, in main File
"build\bdist.win32\egg\fabric\main.py", line 117, in load_fabfile File "D:\DJANGO~2\CALLRE~2\fabfile.py",
line 1, in <module> config.fab_hosts = [‘myHost.com'] NameError: name 'config' is not defined Using fabric version 0.9b1. On a WinXP box. Trevor
Hunsaker |
[Prev in Thread] | Current Thread | [Next in Thread] |