c3104a467e
Resolves: rhbz#1358846 - Fixed 'tuned-adm list' traceback if daemon is not running (by tuned-adm-list-no-dbus-traceback-fix patch)
31 lines
899 B
Diff
31 lines
899 B
Diff
From e6b647641bbb17f36f804ba22dda198478d8533b Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
|
|
Date: Thu, 21 Jul 2016 16:34:29 +0200
|
|
Subject: [PATCH 2/2] tuned-adm: fixed traceback of 'tuned-adm list' if daemon
|
|
is not running
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
|
|
---
|
|
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 ad501c0..cbdd1be 100644
|
|
--- a/tuned/admin/admin.py
|
|
+++ b/tuned/admin/admin.py
|
|
@@ -98,7 +98,7 @@ class Admin(object):
|
|
|
|
def _action_list(self):
|
|
self._print_profiles(self._profiles_locator.get_known_names_summary())
|
|
- self._action_dbus_active()
|
|
+ self._action_active()
|
|
return True
|
|
|
|
def _dbus_get_active_profile(self):
|
|
--
|
|
2.5.5
|
|
|