#NEWLINE# def gen_subscription_id( self ) : #NEWLINE# #INDENT# num_id = str ( self . id ) #NEWLINE# safe = set ( 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' ) #NEWLINE# return ( ( safe + 'x' ) + filter ( ( lambda c : ( c in safe ) ) , self . get_options_name ( ) ) [ : ( 15 - len ( num_id ) ) ] )