Created
January 14, 2012 00:10
-
-
Save halcyonCorsair/1609484 to your computer and use it in GitHub Desktop.
sample fabfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| def printpath(): | |
| for path in sys.path: | |
| print "path element: " + path | |
| def test(): | |
| config_name = 'testconfig' | |
| __import__(config_name) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from fabric.api import env | |
| env.somevar = 'somevalue' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment