Remove debug argment from PostgresGreenlet.

This commit is contained in:
Tyson Clugg 2015-12-15 09:49:12 +11:00
parent 81bedca997
commit 96c53649b8
3 changed files with 3 additions and 4 deletions

View file

@ -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)
-------------------

View file

@ -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

View file

@ -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