Return connections

This commit is contained in:
Nico Schottelius 2016-11-12 17:49:49 +01:00
parent 6053aaa829
commit f20630564d
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ def pg_conn_notify():
conns.append(conn)
log.debug("Waiting for notifications on channel {}".format(channel))
return conns
def pg_wait_for_pkg(conns, callback):
readable, writable, exceptional = select.select(conns,[],[])