<s> """<STR_LIT>""" <EOL> __version__ = '<STR_LIT>' <EOL> import re , sys , wikipedia , config <EOL> def show ( mysite , sysop = False ) : <EOL> if mysite . loggedInAs ( sysop = sysop ) : <EOL> wikipedia . output ( u"<STR_LIT>" % ( repr ( mysite ) , mysite . loggedInAs ( sysop = sysop ) ) ) <EOL> else : <EOL> wikipedia . output ( u"<STR_LIT>" % repr ( mysite ) ) <EOL> def main ( ) : <EOL> testall = False <EOL> sysop = False <EOL> for arg in wikipedia . handleArgs ( ) : <EOL> if arg == "<STR_LIT>" : <EOL> testall = True <EOL> elif arg == "<STR_LIT>" : <EOL> sysop = True <EOL> else : <EOL> wikipedia . showHelp ( ) <EOL> return <EOL> if testall : <EOL> if sysop : <EOL> namedict = config . sysopnames <EOL> else : <EOL> namedict = config . usernames <EOL> for familyName in namedict . iterkeys ( ) : <EOL> for lang in namedict [ familyName ] . iterkeys ( ) : <EOL> show ( wikipedia . getSite ( lang , familyName ) , sysop ) <EOL> else : <EOL> show ( wikipedia . getSite ( ) , sysop ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> try : <EOL> main ( ) <EOL> finally : <EOL> wikipedia . stopme ( ) </s>
