26 lines
762 B
Diff
26 lines
762 B
Diff
From 5c61305860a9520e01b1b66a0bd2fa2b21d70b34 Mon Sep 17 00:00:00 2001
|
|
From: Tomas Korbar <tkorbar@redhat.com>
|
|
Date: Mon, 23 Jul 2018 14:25:38 +0200
|
|
Subject: [PATCH 029/124] Fix TypeError
|
|
|
|
---
|
|
tuned/admin/admin.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py
|
|
index 3f84413..22ffcde 100644
|
|
--- a/tuned/admin/admin.py
|
|
+++ b/tuned/admin/admin.py
|
|
@@ -73,7 +73,7 @@ class Admin(object):
|
|
action = getattr(self, "_action_" + action_name)
|
|
except AttributeError as e:
|
|
if not self._dbus:
|
|
- self._error(e + ", action '%s' is not implemented" % action_name)
|
|
+ self._error(str(e) + ", action '%s' is not implemented" % action_name)
|
|
return False
|
|
if self._dbus:
|
|
try:
|
|
--
|
|
1.8.3.1
|
|
|