projects
/
quizzer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ec908
)
ui.cli: Import UserInterface with an underscore
author
W. Trevor King
<wking@tremily.us>
Thu, 7 Feb 2013 03:11:47 +0000
(22:11 -0500)
committer
W. Trevor King
<wking@tremily.us>
Wed, 13 Mar 2013 21:18:54 +0000
(17:18 -0400)
For a cleaner namespace.
quizzer/ui/cli.py
patch
|
blob
|
history
diff --git
a/quizzer/ui/cli.py
b/quizzer/ui/cli.py
index 473b34d2cb0ec8b524a55838ba70aadd19bd3e06..85f95f0e82b188e4822cdbfec6b6da8b60bfceeb 100644
(file)
--- 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',