Conditionally shows terms

This commit is contained in:
Michael Spang 2007-12-23 19:56:20 -05:00
parent 92fc45c97c
commit 087fc12908
1 changed files with 2 additions and 2 deletions

View File

@ -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):