Replace StandardError with Exception

StandardError was removed in Python3 and instead
Exception should be used.

Signed-off-by: Robert Kuska <rkuska@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Robert Kuska authored and Jan Cholasta committed 2015-09-30 10:51:36 +02:00
1 parent 34e6c3ea05
commit 01da4a8de3
21 files changed
+49 -49

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@
#
class SetseboolError(StandardError):
class SetseboolError(Exception):
"""Raised when setting a SELinux boolean fails
:param failed: Dictionary mapping boolean names to intended values