From 5b9d5e2e43e3d2e2d391e9bce2328868a6159e53 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Tue, 3 Mar 2020 08:16:03 -0700 Subject: [PATCH] mgr/volumes: import VolumeException fixes mypy errors: volumes/fs/operations/index.py: note: In member "track" of class "Index": volumes/fs/operations/index.py:19: error: Name 'VolumeException' is not defined volumes/fs/operations/index.py: note: In member "untrack" of class "Index": volumes/fs/operations/index.py:22: error: Name 'VolumeException' is not defined Fixes: https://tracker.ceph.com/issues/44393 Signed-off-by: Michael Fritch --- src/pybind/mgr/volumes/fs/operations/index.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/volumes/fs/operations/index.py b/src/pybind/mgr/volumes/fs/operations/index.py index 3e11fd58709..0e4296d7556 100644 --- a/src/pybind/mgr/volumes/fs/operations/index.py +++ b/src/pybind/mgr/volumes/fs/operations/index.py @@ -1,6 +1,7 @@ import errno import os +from ..exception import VolumeException from .template import GroupTemplate class Index(GroupTemplate): -- 2.47.3