diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-05 15:00:30 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-05 15:00:30 +0100 |
commit | 1692dc019d803287047b16beda92fec4f1934622 (patch) | |
tree | a2d3f6455d43cca97f92b7b64d3ad0fb07b990d3 /synapse/storage/engines/postgres.py | |
parent | Correctly name transaction (diff) | |
download | synapse-1692dc019d803287047b16beda92fec4f1934622.tar.xz |
Don't call 'encode_parameter' no-op
Diffstat (limited to 'synapse/storage/engines/postgres.py')
-rw-r--r-- | synapse/storage/engines/postgres.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/engines/postgres.py b/synapse/storage/engines/postgres.py index 64e34265f6..a323028546 100644 --- a/synapse/storage/engines/postgres.py +++ b/synapse/storage/engines/postgres.py @@ -36,9 +36,6 @@ class PostgresEngine(object): def convert_param_style(self, sql): return sql.replace("?", "%s") - def encode_parameter(self, param): - return param - def on_new_connection(self, db_conn): db_conn.set_isolation_level( self.module.extensions.ISOLATION_LEVEL_REPEATABLE_READ |