[Freeipa-devel] [PATCH] Replace StandardError with Exception
Petr Viktorin
pviktori at redhat.com
Thu Sep 17 15:35:57 UTC 2015
Hello,
In Python 2, Exception has only two built-in subclasses: StandardError,
and StopIteration.
This makes StandardError pretty useless, and Python 3 removes it.
This patch replaces StandardError with Exception. It has no effect on
IPA code. However, it could theoretically affect external plugins (e.g.
if they do "except StandardError").
--
Petr Viktorin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0712-Replace-StandardError-with-Exception.patch
Type: text/x-patch
Size: 23080 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150917/aef5b9e2/attachment.bin>
More information about the Freeipa-devel
mailing list