<s> '''<STR_LIT>''' <EOL> class WeiboLogin ( object ) : <EOL> def __init__ ( self , opener , username , passwd ) : <EOL> self . opener = opener <EOL> self . username = username <EOL> self . passwd = passwd <EOL> def login ( self ) : <EOL> br = self . opener . spynner_open ( '<STR_LIT>' ) <EOL> self . opener . wait_for_selector ( '<STR_LIT>' ) <EOL> br . wk_fill ( '<STR_LIT>' , self . username ) <EOL> br . wk_fill ( '<STR_LIT>' , self . passwd ) <EOL> br . click ( '<STR_LIT>' ) <EOL> try : <EOL> br . wait_for_content ( lambda br : '<STR_LIT>' in br . html ) <EOL> return True <EOL> except : <EOL> return False </s>
