diff --git a/pyramid_georest/lib/database.py b/pyramid_georest/lib/database.py index 6f74508..c986d5f 100644 --- a/pyramid_georest/lib/database.py +++ b/pyramid_georest/lib/database.py @@ -36,7 +36,7 @@ def __init__(self, url): """ self.url = url if 'cx_oracle' in self.url: - self.engine = create_engine(self.url, echo=True, pool_size=1, coerce_to_unicode=True) + self.engine = create_engine(self.url, pool_size=1, coerce_to_unicode=True) else: - self.engine = create_engine(self.url, echo=True, pool_size=1) - self.session = scoped_session(sessionmaker(bind=self.engine, extension=ZopeTransactionExtension())) \ No newline at end of file + self.engine = create_engine(self.url, pool_size=1) + self.session = scoped_session(sessionmaker(bind=self.engine, extension=ZopeTransactionExtension()))