From: W. Trevor King Date: Thu, 7 Feb 2013 03:11:47 +0000 (-0500) Subject: ui.cli: Import UserInterface with an underscore X-Git-Tag: v0.4~14 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=591eebb467db2f9d26cb80450d28b79772177fdc;p=quizzer.git ui.cli: Import UserInterface with an underscore For a cleaner namespace. --- 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',