summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/core/disable.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/modtool/core/disable.py')
-rw-r--r--gr-utils/python/modtool/core/disable.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/core/disable.py b/gr-utils/python/modtool/core/disable.py
index ad1f78ef91..d9b3188c67 100644
--- a/gr-utils/python/modtool/core/disable.py
+++ b/gr-utils/python/modtool/core/disable.py
@@ -29,7 +29,6 @@ import re
import sys
import logging
-from ..cli import cli_input
from ..tools import CMakeFileEditor
from .base import ModTool, ModToolException
@@ -131,6 +130,8 @@ class ModToolDisable(ModTool):
# This portion will be covered by the CLI
if not self.cli:
self.validate()
+ else:
+ from ..cli import cli_input
# List of special rules: 0: subdir, 1: filename re match, 2: callback
special_treatments = (
('python', r'qa.+py$', _handle_py_qa),