summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/sqlite/pysqlite.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-08-26 02:44:17 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-08-26 02:44:17 +0000
commit91100022ecf99ba0f1888e5a804b3d2d2bc2e128 (patch)
treeed9d9d04b1c9a00c473aab092a38cb6737af3eb1 /lib/sqlalchemy/dialects/sqlite/pysqlite.py
parent014879fdc60bf15509a04d98f56e028eeb9de840 (diff)
parent3668b3a30c4b9a9f4af13457f43bfc34c28cf448 (diff)
downloadsqlalchemy-91100022ecf99ba0f1888e5a804b3d2d2bc2e128.tar.gz
Merge "make URL immutable"
Diffstat (limited to 'lib/sqlalchemy/dialects/sqlite/pysqlite.py')
-rw-r--r--lib/sqlalchemy/dialects/sqlite/pysqlite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/sqlite/pysqlite.py b/lib/sqlalchemy/dialects/sqlite/pysqlite.py
index 8da2a0323..3c88dab8e 100644
--- a/lib/sqlalchemy/dialects/sqlite/pysqlite.py
+++ b/lib/sqlalchemy/dialects/sqlite/pysqlite.py
@@ -491,7 +491,7 @@ class SQLiteDialect_pysqlite(SQLiteDialect):
util.coerce_kw_type(opts, key, type_, dest=pysqlite_opts)
if pysqlite_opts.get("uri", False):
- uri_opts = opts.copy()
+ uri_opts = dict(opts)
# here, we are actually separating the parameters that go to
# sqlite3/pysqlite vs. those that go the SQLite URI. What if
# two names conflict? again, this seems to be not the case right