Conditionally shows terms

pull/5/head
Michael Spang 15 years ago
parent 92fc45c97c
commit 087fc12908
  1. 4
      ceo/urwid/info.py

@ -35,8 +35,8 @@ class InfoPage(WizardPanel):
self.userid.set_text("User: %s" % userid)
self.program.set_text("Program: %s" % program)
self.program.set_text("Shell: %s" % shell)
self.terms.set_text("Terms: %s" % ", ".join(terms))
if terms:
self.terms.set_text("Terms: %s" % ", ".join(terms))
if nmterms:
self.nmterms.set_text("Rep Terms: %s" % ", ".join(nmterms))
def check(self):

Loading…
Cancel
Save