mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Made OPTIONS optional
This commit is contained in:
parent
e0633c9122
commit
f858eda6b1
@ -77,7 +77,7 @@ def pg_bus_conn():
|
||||
user=conf['USER'],
|
||||
password=conf['PASSWORD'],
|
||||
port=conf['PORT'],
|
||||
**conf["OPTIONS"])
|
||||
**conf.get("OPTIONS", {}))
|
||||
# Django connection.cursor().connection doesn't have autocommit=True on
|
||||
conn.set_session(autocommit=True)
|
||||
pubsub = PubSub(conn)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user