#NEWLINE# def setup_signup_code( self ) : #NEWLINE# #INDENT# code = self . get_code ( ) #NEWLINE# if code : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . signup_code = SignupCode . check_code ( code ) #NEWLINE# #UNINDENT# except SignupCode . InvalidCode : #NEWLINE# #INDENT# self . signup_code = None #NEWLINE# #UNINDENT# self . signup_code_present = True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . signup_code = None #NEWLINE# self . signup_code_present = False