ui.cli: Import UserInterface with an underscore
[quizzer.git] / quizzer / ui / cli.py
index 473b34d2cb0ec8b524a55838ba70aadd19bd3e06..85f95f0e82b188e4822cdbfec6b6da8b60bfceeb 100644 (file)
@@ -28,7 +28,7 @@ except ImportError as e:
     print(e)
 
 from .. import error as _error
-from . import UserInterface
+from . import UserInterface as _UserInterface
 
 
 class QuestionCommandLine (_cmd.Cmd):
@@ -171,7 +171,7 @@ class QuestionCommandLine (_cmd.Cmd):
         super(QuestionCommandLine, self).do_help(arg)
 
 
-class CommandLineInterface (UserInterface):
+class CommandLineInterface (_UserInterface):
     colors = {  # listed in pygments.console.light_colors
         'question': 'turquoise',
         'prompt': 'blue',