From 3ce60a9be48da5e32d47f1cda810bded671d8b74 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Sat, 1 Feb 2014 09:55:02 +0100 Subject: whitespaces be gone --- commands/software/lmi/scripts/software/cmd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/software') diff --git a/commands/software/lmi/scripts/software/cmd.py b/commands/software/lmi/scripts/software/cmd.py index c9ff771..d4c4915 100644 --- a/commands/software/lmi/scripts/software/cmd.py +++ b/commands/software/lmi/scripts/software/cmd.py @@ -184,7 +184,7 @@ class FileLister(command.LmiInstanceLister): def execute(self, ns, package, _type=None): properties = [ ('Name'), - ('Type', lambda i: + ('Type', lambda i: software.FILE_TYPES[i.FileType] if i.FileExists else 'Missing'), @@ -257,7 +257,7 @@ def for_each_package_specs(ns, pkg_specs, info, func, """ Iterate over package specification strings, find them on remote host, make them into ``LMI_SoftwareIdentity``, and pass them to given function. - + :param pkg_specs: (``list``) List of package specification strings. :param info: (``str``) What is done with package. This is used in log messages. @@ -408,7 +408,7 @@ class ChangeEnabledState(command.LmiCheckResult): @property def enable(self): """ Whether to enable or disable repository. """ - return True + return True def check_result(self, options, result): if options[''] != result: -- cgit