diff --git a/CHANGES.rst b/CHANGES.rst index d31637a..be0531b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -22,6 +22,7 @@ develop * Tox test suite updated to runs against Python 2.7/3.3/3.4/3.5 and Django 1.8/1.9. * Build wheels from tox environment to ensure consistency. +* Remove `debug` argment from `PostgresGreenlet` class (unused). 0.18.1 (2015-11-06) ------------------- diff --git a/dddp/main.py b/dddp/main.py index f4783a5..dd8d12c 100644 --- a/dddp/main.py +++ b/dddp/main.py @@ -103,9 +103,7 @@ class DDPLauncher(object): # shutdown existing connections close_old_connections() - DDPLauncher.pgworker = PostgresGreenlet( - connection, debug=debug, - ) + DDPLauncher.pgworker = PostgresGreenlet(connection) # use settings.WSGI_APPLICATION or fallback to default Django WSGI app from django.conf import settings diff --git a/dddp/postgres.py b/dddp/postgres.py index 88c993d..a513028 100644 --- a/dddp/postgres.py +++ b/dddp/postgres.py @@ -16,7 +16,7 @@ class PostgresGreenlet(gevent.Greenlet): """Greenlet for multiplexing database operations.""" - def __init__(self, conn, debug=False): + def __init__(self, conn): """Prepare async connection.""" super(PostgresGreenlet, self).__init__() import logging