Hi
I wanted to get rid of repetitive lines in my fabfile saying
with settings(show('user'),hide('warnings', 'running', 'stdout', 'stderr'))
For the decorator @with_settings, the docs only mentions the warn_only=True
example
And when I try one of these lines :
@with_settings(show('user'))
@with_settings(hide('warnings', 'running', 'stdout', 'stderr'))
I always get :
TypeError: with_settings() takes exactly 0 arguments (1 given)
What would be the correct syntax, if this is possible ?
thank you
--
Dominique Guardiola, QUINODE
• http://www.quinode.fr/
• Tel : 04.27.86.84.37
• Mob : 06.15.13.22.27
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user