[Freeipa-devel] [PATCH] 309 make exception from ipautil.run() optional

Rob Crittenden rcritten at redhat.com
Wed Nov 11 16:32:55 UTC 2009


There are probably occasions where a caller will want more control over 
what happens when running a command fails. I've added an optional 
argument to run where it will not raise an exception on errors.

I've also added returncode to the tuple of things returned.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-309-run.patch
Type: application/mbox
Size: 7263 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20091111/39f41fe6/attachment.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20091111/39f41fe6/attachment.bin>


More information about the Freeipa-devel mailing list