<s> """<STR_LIT>""" <EOL> import MySQLdb as mdb <EOL> destination_addr = routable . pdu . params [ '<STR_LIT>' ] <EOL> try : <EOL> con = mdb . connect ( '<STR_LIT:localhost>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) ; <EOL> cur = con . cursor ( ) <EOL> cur . execute ( "<STR_LIT>" % destination_addr ) <EOL> count = cur . fetchone ( ) <EOL> if count [ <NUM_LIT:0> ] == <NUM_LIT:0> : <EOL> result = True <EOL> except mdb . Error , e : <EOL> result = False <EOL> finally : <EOL> result = False </s>
