tuned/tuned-2.7.0-tuned-gui-traceback-fix.patch
Jaroslav Škarvada c3104a467e Fixed tuned-gui traceback (by tuned-gui-traceback-fix patch)
Resolves: rhbz#1358846
- Fixed 'tuned-adm list' traceback if daemon is not running
  (by tuned-adm-list-no-dbus-traceback-fix patch)
2016-07-21 17:29:36 +02:00

33 lines
986 B
Diff

From e6c6e157336acd08e40c817d4e7ee7bf1a1f5a04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
Date: Thu, 21 Jul 2016 11:08:20 +0200
Subject: [PATCH 1/2] gui: fixed traceback caused by DBus paths copy&paste
error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Related: rhbz#1356369
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
---
tuned-gui.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tuned-gui.py b/tuned-gui.py
index 0555404..b169dec 100755
--- a/tuned-gui.py
+++ b/tuned-gui.py
@@ -89,7 +89,7 @@ class Base(object):
try:
self.controller = \
tuned.admin.DBusController(consts.DBUS_BUS,
- consts.DBUS_OBJECT, consts.DBUS_INTERFACE)
+ consts.DBUS_INTERFACE, consts.DBUS_OBJECT)
self.controller.is_running()
except tuned.admin.exceptions.TunedAdminDBusException, ex:
response = self.tuned_daemon_exception_dialog.run()
--
2.5.5