Commit 6473d208 authored by Ondřej Lysoněk's avatar Ondřej Lysoněk

Drop TunedAdminException, it's not raised anywhere

Signed-off-by: default avatarOndřej Lysoněk <olysonek@redhat.com>
parent 64517b77
......@@ -93,12 +93,6 @@ if __name__ == "__main__":
admin = tuned.admin.Admin(dbus, debug, async, timeout)
result = admin.action(action_name, **options)
except tuned.admin.TunedAdminException as e:
if not debug:
print(e, file=sys.stderr)
else:
traceback.print_exc()
sys.exit(2)
except:
traceback.print_exc()
sys.exit(3)
......
import tuned.exceptions
class TunedAdminException(tuned.exceptions.TunedException):
pass
class TunedAdminDBusException(tuned.exceptions.TunedException):
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment