From ac1d61f0aeeb8c856a0b103998e0458b40c79ac9 Mon Sep 17 00:00:00 2001 From: Pedro Cunial Date: Mon, 28 Oct 2019 15:27:44 -0400 Subject: Remove redundant assignment in .../engine/create.py ### Description Remove a redundant assignment in the engine creation file. ### Checklist This pull request is: - [x] A documentation / typographical error fix - Good to go, no issue or tests are needed - [ ] A short code fix - please include the issue number, and create an issue if none exists, which must include a complete example of the issue. one line code fixes without an issue and demonstration will not be accepted. - Please include: `Fixes: #` in the commit message - please include tests. one line code fixes without tests will not be accepted. - [ ] A new feature implementation - please include the issue number, and create an issue if none exists, which must include a complete example of how the feature would look. - Please include: `Fixes: #` in the commit message - please include tests. **Have a nice day!** Closes: #4944 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4944 Pull-request-sha: 4a0e6206f0ae5ff5350ecaa6f998bc3dc0c26cdd Change-Id: Ie491b071e3392334947d3b8ba84c7323c1b15b6e --- lib/sqlalchemy/engine/create.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/sqlalchemy/engine') diff --git a/lib/sqlalchemy/engine/create.py b/lib/sqlalchemy/engine/create.py index ed3d452e0..fd6105561 100644 --- a/lib/sqlalchemy/engine/create.py +++ b/lib/sqlalchemy/engine/create.py @@ -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 -- cgit v1.2.1