On Sat, Oct 22, 2011 at 9:29 AM, Coopérative Quinode <[email protected]> wrote:
> For the decorator @with_settings, the docs only mentions the warn_only=True
> example
> And when I try one of these lines [it doesn't work]
>
> What would be the correct syntax, if this is possible ?
Currently, @with_settings only affects environment variables and is
not an exact copy of the settings() context manager. So it doesn't
take hide/show/other contextmanagers as arguments, in the way that
settings() does.
I believe this should be considered a bug, unless the @with_settings
implementation somehow prevents us from honoring those sorts of
positional arguments, which is doubtful.
Thought there was an issue for this, but not seeing one, so I just made this:
https://github.com/fabric/fabric/issues/458
Thanks,
Jeff
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org
_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user