summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/create.py
diff options
context:
space:
mode:
authorPedro Cunial <pedro.campos@quintoandar.com.br>2019-10-28 15:27:44 -0400
committersqla-tester <sqla-tester@sqlalchemy.org>2019-10-28 15:27:44 -0400
commitac1d61f0aeeb8c856a0b103998e0458b40c79ac9 (patch)
treefcd05ed837ce0248654a2a319fc4334776ad68d9 /lib/sqlalchemy/engine/create.py
parent4755e1fb41dd396ffef0b4ae93a3cbc0c151f695 (diff)
downloadsqlalchemy-ac1d61f0aeeb8c856a0b103998e0458b40c79ac9.tar.gz
Remove redundant assignment in .../engine/create.py
<!-- Provide a general summary of your proposed changes in the Title field above --> ### Description <!-- Describe your changes in detail --> Remove a redundant assignment in the engine creation file. ### Checklist <!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once) --> 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: #<issue number>` 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: #<issue number>` 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
Diffstat (limited to 'lib/sqlalchemy/engine/create.py')
-rw-r--r--lib/sqlalchemy/engine/create.py2
1 files changed, 0 insertions, 2 deletions
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