diff options
author | Jan Safranek <jsafrane@redhat.com> | 2014-04-07 13:08:20 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2014-04-07 13:08:20 +0200 |
commit | 59cc9a3d070dde82e46e3666cb413a71079ffe77 (patch) | |
tree | 2ce5e7d5ffcf997255e0cf467cbe38733e862e9f | |
parent | f695a051b128f931cf1a85a5dde3180dda1f9eb5 (diff) | |
download | openlmi-scripts-59cc9a3d070dde82e46e3666cb413a71079ffe77.tar.gz openlmi-scripts-59cc9a3d070dde82e46e3666cb413a71079ffe77.tar.xz openlmi-scripts-59cc9a3d070dde82e46e3666cb413a71079ffe77.zip |
Fixed 'lmi mount create' command.
It does _not_ accept list of devices.
-rw-r--r-- | commands/storage/lmi/scripts/storage/cmd/mount.py | 8 |
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. |