summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2014-04-08 07:34:42 +0200
committerMichal Minar <miminar@redhat.com>2014-04-08 07:34:42 +0200
commit9a5c4e5672cb006d3d6af8f07e551c2df93401d4 (patch)
tree2ce5e7d5ffcf997255e0cf467cbe38733e862e9f
parentf695a051b128f931cf1a85a5dde3180dda1f9eb5 (diff)
parent59cc9a3d070dde82e46e3666cb413a71079ffe77 (diff)
downloadopenlmi-scripts-9a5c4e5672cb006d3d6af8f07e551c2df93401d4.tar.gz
openlmi-scripts-9a5c4e5672cb006d3d6af8f07e551c2df93401d4.tar.xz
openlmi-scripts-9a5c4e5672cb006d3d6af8f07e551c2df93401d4.zip
Merge pull request #78 from jsafrane/devel/fix-mount
Fixed 'lmi mount create' command.
-rw-r--r--commands/storage/lmi/scripts/storage/cmd/mount.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/commands/storage/lmi/scripts/storage/cmd/mount.py b/commands/storage/lmi/scripts/storage/cmd/mount.py
index acb36df..3a3c9ed 100644
--- a/commands/storage/lmi/scripts/storage/cmd/mount.py
+++ b/commands/storage/lmi/scripts/storage/cmd/mount.py
@@ -192,14 +192,6 @@ class MountShow(command.LmiLister):
class MountCreate(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, device, mountpoint, fs_type=None, options=None):
"""
Implementation of 'mount create' command.