]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
- fix py26 syntax error
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 Sep 2017 15:56:00 +0000 (11:56 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 Sep 2017 15:56:00 +0000 (11:56 -0400)
Change-Id: I897525e0f1ea0ec2cbaec293bac51dc057dddf87

alembic/testing/provision.py

index faf437c9be3f596e634988c2f18836e619ff8f07..546ef23c225fd941c19eeceebf1636da9710d27f 100644 (file)
@@ -309,7 +309,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"):