Module Expr Str Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str TryExcept body Import alias Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Import alias Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ListLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body If CompareIn NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str body Assign NameStore NameLoad Break orelse If CompareIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad body Assign NameStore NameLoad Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body If CompareIn NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body If CompareEq Call AttributeLoad NameLoad attr Str body If Call AttributeLoad NameLoad attr body If CompareIn NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr While NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword UnaryOpNot AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign SubscriptStore NameLoad Index BinOpAdd Str NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Raise Call NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str Str Call AttributeLoad NameLoad attr Str Str UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Str Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str orelse Assign NameStore Str If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
[ircbot]
nick=NICKNAME
pass=PASSWORD
server=irc.freenode.net
port=6667
server_password=SERVERPASS
channel_config=/path/to/yaml/config

[gerrit]
user=gerrit2

[data_source[
es_url=URLofELASTICSEARCH
db_uri=SQLALCHEMY_URI_TO_SUBUNIT2SQL
 N/A 
openstack-qa:
    events:
     - positive
     - negative
 N/A argparse N/A ConfigParser N/A daemon N/A os N/A textwrap N/A threading N/A time N/A yaml N/A irc.bot launchpadlib launchpad elastic_recheck log logging N/A LPCACHEDIR N/A N/A N/A os path expanduser ~/.launchpadlib/cache N/A N/A N/A daemon.pidlockfile N/A pid_file_module N/A daemon pidlockfile N/A N/A N/A Exception N/A N/A daemon.pidfile N/A pid_file_module N/A daemon pidfile ElasticRecheckException N/A Exception N/A N/A N/A RecheckWatchBot N/A N/A N/A irc bot SingleServerIRCBot N/A __init__ N/A N/A self channels nickname password server port server_password N/A 6667 None N/A N/A N/A N/A N/A super RecheckWatchBot self __init__ N/A N/A server port server_password nickname nickname N/A N/A self channel_list channels N/A N/A self nickname nickname N/A N/A self password password N/A N/A self log N/A N/A logging getLogger recheckwatchbot N/A on_nicknameinuse N/A N/A self c e N/A N/A N/A N/A N/A N/A self log info Nick previously in use, recovering. N/A N/A N/A c nick N/A N/A N/A c get_nickname _ N/A N/A N/A c privmsg nickserv N/A identify %s  N/A self password N/A N/A N/A c privmsg nickserv N/A ghost %s %s N/A N/A self nickname N/A self password N/A N/A N/A c privmsg nickserv N/A release %s %s N/A N/A self nickname N/A self password N/A N/A N/A time sleep 1 N/A N/A N/A c nick N/A self nickname N/A N/A N/A N/A self log info Nick previously in use, recovered. N/A on_welcome N/A N/A self c e N/A N/A N/A N/A N/A N/A self log info Identifying with IRC server. N/A N/A N/A c privmsg nickserv N/A identify %s  N/A self password N/A N/A N/A N/A self log info Identified with IRC server. N/A channel N/A self channel_list N/A N/A N/A N/A c join channel N/A N/A N/A N/A self log info N/A Joined channel %s channel N/A N/A N/A time sleep 0.5 N/A send N/A N/A self channel msg N/A N/A N/A N/A N/A N/A self log info N/A Sending "%s" to %s N/A msg channel N/A chunk N/A N/A textwrap wrap msg 400 N/A N/A N/A N/A N/A self connection privmsg channel chunk N/A N/A N/A time sleep 0.5 N/A N/A RecheckWatch N/A N/A threading Thread N/A __init__ N/A N/A self ircbot channel_config msgs username queries host key commenting es_url db_uri N/A True None None N/A N/A N/A N/A N/A super RecheckWatch self __init__ N/A N/A self ircbot ircbot N/A N/A self channel_config channel_config N/A N/A self msgs msgs N/A N/A self log N/A N/A logging getLogger recheckwatchbot N/A N/A self username username N/A N/A self queries queries N/A N/A self host host N/A N/A self connected False N/A N/A self commenting commenting N/A N/A self key key N/A N/A self lp N/A N/A N/A launchpad Launchpad login_anonymously grabbing bugs production LPCACHEDIR timeout 60 N/A N/A self es_url es_url N/A N/A self db_uri db_uri N/A display N/A N/A self channel event N/A N/A N/A display False N/A project N/A N/A self _get_bug_projects N/A N/A event get_all_bugs N/A N/A N/A channel N/A N/A N/A self channel_config projects N/A all N/A N/A display True N/A N/A N/A N/A project N/A N/A self channel_config projects N/A N/A N/A channel N/A N/A N/A self channel_config projects N/A project N/A N/A display True N/A N/A display N/A new_error N/A N/A self channel event N/A N/A N/A queue N/A N/A event queue N/A msg N/A %s change: %s failed %s in the %s queue with an unrecognized error N/A N/A event project N/A event url N/A N/A ,  join N/A N/A event failed_job_names queue N/A N/A N/A self print_msg channel msg N/A error_found N/A N/A self channel event N/A N/A N/A msg N/A %s change: %s failed because of: %s N/A N/A event project N/A event url N/A N/A ,  join N/A N/A event bug_urls_map N/A N/A N/A self display channel event N/A N/A N/A N/A self print_msg channel msg N/A N/A N/A N/A N/A self log info N/A Didn't leave a message on channel %s for %s because the bug doesn't target an appropriate project N/A channel N/A event url N/A print_msg N/A N/A self channel msg N/A N/A N/A N/A N/A N/A self log info N/A Compiled Message %s: %s N/A channel msg N/A N/A self ircbot N/A N/A N/A N/A N/A self ircbot send channel msg N/A _get_bug_projects N/A N/A self bug_numbers N/A N/A N/A projects N/A N/A bug bug_numbers N/A N/A lp_bug N/A N/A N/A self lp bugs N/A bug N/A project N/A map N/A N/A N/A x N/A N/A x bug_target_name N/A lp_bug bug_tasks N/A p project N/A N/A N/A N/A projects append p N/A N/A set projects N/A _read N/A N/A self event msg N/A None N/A N/A channel N/A N/A self channel_config channels N/A N/A msg N/A N/A N/A channel N/A N/A N/A self channel_config events N/A negative N/A N/A N/A N/A self print_msg channel msg N/A N/A event N/A N/A N/A N/A N/A event queue gate N/A N/A N/A N/A event get_all_bugs N/A N/A N/A channel N/A N/A N/A self channel_config events N/A positive N/A N/A N/A N/A self error_found channel event N/A N/A N/A channel N/A N/A N/A self channel_config events N/A negative N/A N/A N/A N/A self new_error channel event N/A N/A N/A ElasticRecheckException No event or msg specified N/A run N/A N/A self N/A N/A N/A elastic_recheck.elasticRecheck er N/A classifier N/A N/A er Classifier N/A self queries es_url N/A self es_url db_uri N/A self db_uri N/A stream N/A N/A er Stream N/A self username N/A self host N/A self key es_url N/A self es_url N/A True N/A N/A N/A N/A event N/A N/A stream get_failed_tempest N/A job N/A event failed_jobs N/A N/A N/A job bugs N/A set N/A N/A classifier classify N/A event change N/A event rev N/A job build_short_uuid recent True N/A N/A N/A N/A event get_all_bugs N/A N/A N/A N/A self _read event N/A N/A N/A N/A self _read event N/A N/A N/A stream leave_comment event N/A self msgs debug N/A N/A self commenting N/A N/A N/A N/A er ResultTimedOut N/A e N/A N/A N/A N/A N/A self log warning N/A e message N/A N/A N/A self _read msg N/A e message N/A N/A Exception N/A N/A N/A N/A N/A self log exception Uncaught exception processing event. N/A N/A MessageConfig N/A dict N/A __init__ N/A N/A self data N/A N/A N/A N/A N/A N/A super MessageConfig self __init__ N/A N/A N/A self update N/A data N/A messages N/A N/A ChannelConfig N/A object N/A __init__ N/A N/A self data N/A N/A N/A N/A channels data N/A N/A data N/A data N/A channels N/A N/A self data data N/A keys N/A N/A data keys N/A key keys N/A N/A N/A N/A key N/A 0 # N/A N/A N/A data N/A N/A # key N/A N/A data pop key N/A N/A self channels N/A N/A data keys N/A N/A self events N/A N/A N/A channel val N/A N/A N/A self data iteritems N/A N/A event N/A val N/A events N/A N/A event_set N/A N/A N/A self events get event N/A set N/A N/A N/A event_set add channel N/A N/A N/A self events N/A event event_set N/A N/A self projects N/A N/A N/A channel val N/A N/A N/A self data iteritems N/A N/A project N/A val N/A projects N/A N/A project_set N/A N/A N/A self projects get project N/A set N/A N/A N/A project_set add channel N/A N/A N/A self projects N/A project project_set N/A N/A get_options N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description IRC bot for elastic recheck bug reporting N/A N/A N/A parser add_argument -f --foreground default False action store_true help Run in foreground N/A N/A N/A parser add_argument -n --nocomment default False action store_true help Don't comment in gerrit. Useful in testing. N/A N/A N/A parser add_argument --noirc default False action store_true help Don't comment in irc. Useful in testing. N/A N/A N/A parser add_argument conffile nargs 1 help Configuration file N/A N/A N/A parser parse_args N/A _main N/A N/A args config N/A N/A N/A N/A N/A logging setup_logging config N/A fp N/A N/A config get ircbot channel_config N/A fp N/A N/A fp N/A N/A N/A os path expanduser fp N/A N/A N/A N/A N/A os path exists fp N/A N/A N/A ElasticRecheckException N/A Unable to read layout config file at %s fp N/A N/A N/A ElasticRecheckException Channel Config must be specified in config file. N/A channel_config N/A ChannelConfig N/A N/A yaml load N/A open fp N/A msgs N/A MessageConfig N/A N/A yaml load N/A open fp N/A N/A N/A args noirc N/A N/A bot N/A RecheckWatchBot N/A channel_config channels N/A N/A config get ircbot nick N/A N/A config get ircbot pass N/A N/A config get ircbot server N/A N/A config getint ircbot port N/A N/A config get ircbot server_password N/A N/A bot None N/A recheck N/A RecheckWatch bot channel_config msgs N/A N/A config get gerrit user N/A N/A config get gerrit query_file N/A N/A config get gerrit host review.openstack.org N/A N/A config get gerrit key N/A N/A args nocomment N/A N/A config get data_source es_url http://logstash.openstack.org:80/elasticsearch N/A N/A config get data_source db_uri mysql+pymysql://query:query@logstash.openstack.org/subunit2sql N/A N/A N/A recheck start N/A N/A N/A args noirc N/A N/A N/A N/A bot start N/A main N/A N/A N/A N/A N/A args N/A get_options N/A config N/A N/A ConfigParser ConfigParser N/A server_password None N/A N/A N/A config read N/A args conffile N/A N/A N/A config has_option ircbot pidfile N/A N/A pid_fn N/A N/A N/A os path expanduser N/A N/A config get ircbot pidfile N/A N/A pid_fn /var/run/elastic-recheck/elastic-recheck.pid N/A N/A args foreground N/A N/A N/A _main args config N/A N/A pid N/A N/A pid_file_module TimeoutPIDLockFile pid_fn 10 N/A N/A N/A daemon DaemonContext pidfile pid N/A N/A N/A _main args config N/A N/A N/A __name__ __main__ N/A N/A N/A main