ui.cli: Fix ._set_ps1 when .question is None
authorW. Trevor King <wking@tremily.us>
Wed, 6 Feb 2013 21:38:40 +0000 (16:38 -0500)
committerW. Trevor King <wking@tremily.us>
Wed, 6 Feb 2013 21:39:04 +0000 (16:39 -0500)
commit0ee85fb969c921495a6756353def836f25262ccc
treecfb02bafe35741fa6a1a9b3d8c5b3958308a2cca
parent9290d984423dbc5ae338f14f0b726313be48bd30
ui.cli: Fix ._set_ps1 when .question is None

Otherwise QuestionCommandLine will crash if its launched with an empty
stack (not that this should happen, but we should still avoid the
crash).
quizzer/ui/cli.py