fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] non magical “Lazy” string interp olation ?


From: Jorge Vargas
Subject: [Fab-user] non magical “Lazy” string interp olation ?
Date: Wed, 20 May 2009 22:45:12 -0400

I find myself doing this type of thing a lot.

"%(some_var_from_env)s % env

in my small fabfile I have it in append, sudo, run, webbrowser.open,
print as well as plain old strings.

So I was wondering why not make it part of the commands?

a simple replacement in run, that will expand all variable will save
1000s of lines doing it on the outside.

PS: sorry for all the emails, I'm just really exited about the
potential I have here and I want to get this tool to a point that I
can use it for day to day work :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]