Hi Timothee, Globally, you can set env.warn_only = True; or on a situational basis you can wrap code in "with settings(warn_only=True):". That will turn aborts into warnings.
Best, Jeff On Thu, Jul 23, 2009 at 3:42 PM, Timothee Besset<tt...@idsoftware.com> wrote: > Hey all, > > How can I have my run() and sudo() report an error but not abort the > whole operation. I am using fab to scan a whole batch of machines and > detect the ones one which some operations are failing. With run() I can > kinda work around with a " ; true" at the end of my commands but that > doesn't apply to sudo (and it's a hack anyway). > > So again, I'd like to be able to have run() and abort() fail on several > hosts but still test all the hosts? > > TTimo > > > > _______________________________________________ > Fab-user mailing list > Fab-user@nongnu.org > http://lists.nongnu.org/mailman/listinfo/fab-user > _______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user