diff options
| author | Christian Heimes <cheimes@redhat.com> | 2015-07-15 10:42:31 +0200 |
|---|---|---|
| committer | Christian Heimes <cheimes@redhat.com> | 2015-08-10 11:58:44 +0200 |
| commit | 8ae5ec7f3774d81a1c3d79c2a05649de65b8658c (patch) | |
| tree | 565f6b1b697fdcfcc2fef0b6b5860ef28b2d458d /base/common/python | |
| parent | a51b8b657f90e69d4c6eaaaf4c24af6501331668 (diff) | |
| download | pki-8ae5ec7f3774d81a1c3d79c2a05649de65b8658c.tar.gz pki-8ae5ec7f3774d81a1c3d79c2a05649de65b8658c.tar.xz pki-8ae5ec7f3774d81a1c3d79c2a05649de65b8658c.zip | |
Simplify exception handling in pkihelper
Several methods except OSError before they except shutil.Error. In
Python 3 the second except clause will be ignored because in Python 3
shutil.Error is a subclass of OSError.
The body of the except clauses only differs in the logging message. A
single except clause with an isinstance() check has the same effect.
Diffstat (limited to 'base/common/python')
0 files changed, 0 insertions, 0 deletions
