]> www.infradead.org Git - users/hch/nvmetcli.git/commitdiff
nvmetcli: Fix nvmet import
authorAndy Grover <agrover@redhat.com>
Thu, 13 Oct 2016 00:00:42 +0000 (17:00 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Oct 2016 10:06:59 +0000 (12:06 +0200)
We should just need to import nvmet, which will run __init__.py and import
just the public things from nvmet/nvme.py.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmetcli

index a318aa65a62f172364a9020e69414b269bdd7fd2..8140fc6b29dff3aef87e2d09600337cf703b3f6c 100755 (executable)
--- a/nvmetcli
+++ b/nvmetcli
@@ -23,7 +23,7 @@ from __future__ import print_function
 import os
 import sys
 import configshell_fb as configshell
-import nvmet.nvme as nvme
+import nvmet as nvme
 
 
 class UINode(configshell.node.ConfigNode):