summaryrefslogtreecommitdiffstats
path: root/commands/storage/lmi
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2014-02-10 12:11:40 +0100
committerJan Safranek <jsafrane@redhat.com>2014-02-10 12:11:40 +0100
commit0b3e343d3234cd5b21bb40e8ba82c405ea76432f (patch)
tree0f5d5810849fd1aab9c2ef534e7c8fd4ba2ca6e4 /commands/storage/lmi
parent1129389f978452a919ce2ea1e648b3701cc103fd (diff)
downloadopenlmi-scripts-0b3e343d3234cd5b21bb40e8ba82c405ea76432f.tar.gz
openlmi-scripts-0b3e343d3234cd5b21bb40e8ba82c405ea76432f.tar.xz
openlmi-scripts-0b3e343d3234cd5b21bb40e8ba82c405ea76432f.zip
Fixed 'lmi mount delete', there is no '<device>' argument.
Diffstat (limited to 'commands/storage/lmi')
-rw-r--r--commands/storage/lmi/scripts/storage/mount_cmd.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/commands/storage/lmi/scripts/storage/mount_cmd.py b/commands/storage/lmi/scripts/storage/mount_cmd.py
index 4f5bf1a..97a18d9 100644
--- a/commands/storage/lmi/scripts/storage/mount_cmd.py
+++ b/commands/storage/lmi/scripts/storage/mount_cmd.py
@@ -207,14 +207,6 @@ class Create(command.LmiCheckResult):
class Delete(command.LmiCheckResult):
EXPECT = None
- def transform_options(self, options):
- """
- There is only one <device> option, but docopt passes it as array
- (because in other commands it is used with '...'). So let's
- transform it to scalar.
- """
- options['<device>'] = options.pop('<device>')[0]
-
def execute(self, ns, target):
"""
Implementation of 'mount delete' command.