]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- still supporting py2.6 in 1.1/1.0 (!)
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Aug 2017 13:41:40 +0000 (09:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Aug 2017 13:45:12 +0000 (09:45 -0400)
Change-Id: Iaaababf83b9c3a6e4dc784fc9807bed01c90b69b
(cherry picked from commit e46eea26d30f2dae6fba1a46131b6f0656acbf3c)

lib/sqlalchemy/testing/provision.py

index 95fa2f8f75c7a4d634c1f7feb21ae5221748d057..487b610485d9d5196ae22aa19584639b80e7cc60 100644 (file)
@@ -308,7 +308,7 @@ def reap_oracle_dbs(idents_file):
                 "select u.username from all_users u where username "
                 "like 'TEST_%' and not exists (select username "
                 "from v$session where username=u.username)")
-            all_names = {username.lower() for (username, ) in to_reap}
+            all_names = set(username.lower() for (username, ) in to_reap)
             to_drop = set()
             for name in all_names:
                 if name.endswith("_ts1") or name.endswith("_ts2"):