diff options
author | Michal Minar <miminar@redhat.com> | 2013-09-26 13:20:46 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-09-26 13:20:46 +0200 |
commit | b936818669086e0d79a8540969e8cd76770b5ae5 (patch) | |
tree | 10f9850bd7a23de2a4aa60f811b4783808190841 /commands | |
parent | 984d6516660b1a4be61635f8019be1753968db1d (diff) | |
download | openlmi-scripts-b936818669086e0d79a8540969e8cd76770b5ae5.tar.gz openlmi-scripts-b936818669086e0d79a8540969e8cd76770b5ae5.tar.xz openlmi-scripts-b936818669086e0d79a8540969e8cd76770b5ae5.zip |
service: fixed invocation of restart command
Diffstat (limited to 'commands')
-rw-r--r-- | commands/service/lmi/scripts/service/cmd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/service/lmi/scripts/service/cmd.py b/commands/service/lmi/scripts/service/cmd.py index 6de5826..9d25592 100644 --- a/commands/service/lmi/scripts/service/cmd.py +++ b/commands/service/lmi/scripts/service/cmd.py @@ -90,9 +90,9 @@ class Restart(command.LmiCheckResult): def transform_options(self, options): """ ``try`` is a keyword argument in python, let's rename it to - ``just_try``. + ``just-try`` which will be transformed into ``just_try``. """ - options['just_try'] = options.pop('--try') + options['just-try'] = options.pop('--try') class Reload(command.LmiCheckResult): EXPECT = 0 |