1
0
Fork 0

tuned-adm: fixed profile_info traceback

Resolves: rhbz#1362481

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2016-08-02 14:16:38 +02:00
parent e6b647641b
commit 1f365e4f36

View file

@ -118,13 +118,13 @@ class Admin(object):
def _print_profile_info(self, profile_info):
if profile_info[0] == True:
print("Profile name:")
print(ret[1])
print(profile_info[1])
print()
print("Profile summary:")
print(ret[2])
print(profile_info[2])
print()
print("Profile description:")
print(ret[3])
print(profile_info[3])
return True
else:
print("Unable to get information about profile '%s'" % profile)