From 629a0d6074b3ff0d254a01afcffdf55f0cd86fcf Mon Sep 17 00:00:00 2001 From: Andy Grover <agrover@redhat.com> Date: Wed, 12 Oct 2016 17:00:41 -0700 Subject: [PATCH] Use relative import in nvmet/__init__.py This is supported by Python 2.7 and later. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> --- nvmet/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvmet/__init__.py b/nvmet/__init__.py index eba0ebb..a084151 100644 --- a/nvmet/__init__.py +++ b/nvmet/__init__.py @@ -1 +1 @@ -from nvme import Root, Subsystem, Namespace +from .nvme import Root, Subsystem, Namespace -- GitLab