diff options
author | Michal Minar <miminar@redhat.com> | 2014-02-01 09:55:02 +0100 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2014-02-05 14:06:05 +0100 |
commit | 3ce60a9be48da5e32d47f1cda810bded671d8b74 (patch) | |
tree | 3726edd171708c8450861a1981b3bd055f848a61 /commands/software | |
parent | d76499930af33e1cd095c965a4e5304396b4c1a8 (diff) | |
download | openlmi-scripts-3ce60a9be48da5e32d47f1cda810bded671d8b74.tar.gz openlmi-scripts-3ce60a9be48da5e32d47f1cda810bded671d8b74.tar.xz openlmi-scripts-3ce60a9be48da5e32d47f1cda810bded671d8b74.zip |
whitespaces be gone
Diffstat (limited to 'commands/software')
-rw-r--r-- | commands/software/lmi/scripts/software/cmd.py | 6 |
1 files changed, 3 insertions, 3 deletions
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['<repository_array>'] != result: |