jet-admin / jet-bridge

Global variable is declared but not used PYL-W0602
Bug risk
Major
6 months ago2 years old
Using global for 'connections' but no assignment is done
672
673
674def dispose_connection(conf):
675    global connections676
677    connection_id = get_connection_id(conf)
678    connection = connections.get(connection_id)
Using global for 'pending_connections' but no assignment is done
421
422
423def connect_database(conf):
424    global connections, pending_connections425
426    connection_id = get_connection_id(conf)
427    connection_params_id = get_connection_params_id(conf)
Using global for 'connections' but no assignment is done
421
422
423def connect_database(conf):
424    global connections, pending_connections425
426    connection_id = get_connection_id(conf)
427    connection_params_id = get_connection_params_id(conf)