]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove redundant assignment in .../engine/create.py 4944/head
authorPedro Cunial <pedro.campos@quintoandar.com.br>
Thu, 24 Oct 2019 10:55:04 +0000 (07:55 -0300)
committerPedro Cunial <pedro.campos@quintoandar.com.br>
Thu, 24 Oct 2019 10:55:04 +0000 (07:55 -0300)
lib/sqlalchemy/engine/create.py

index ed3d452e0ec048bbc7244bb5fbf267c2319aea08..fd6105561e176fef5fe05a38d91eeb9a8d8dc0b8 100644 (file)
@@ -504,8 +504,6 @@ def create_engine(url, **kwargs):
     else:
         if isinstance(pool, poollib.dbapi_proxy._DBProxy):
             pool = pool.get_pool(*cargs, **cparams)
-        else:
-            pool = pool
 
         pool._dialect = dialect