From 591eebb467db2f9d26cb80450d28b79772177fdc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 6 Feb 2013 22:11:47 -0500 Subject: [PATCH] ui.cli: Import UserInterface with an underscore For a cleaner namespace. --- quizzer/ui/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quizzer/ui/cli.py b/quizzer/ui/cli.py index 473b34d..85f95f0 100644 --- a/quizzer/ui/cli.py +++ b/quizzer/ui/cli.py @@ -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', -- 2.26.2