From: Mike Bayer Date: Tue, 22 Aug 2017 13:41:40 +0000 (-0400) Subject: - still supporting py2.6 in 1.1/1.0 (!) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1dfb89587332e1a2446fa4d6f6a67e9c2089d96b;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - still supporting py2.6 in 1.1/1.0 (!) Change-Id: Iaaababf83b9c3a6e4dc784fc9807bed01c90b69b (cherry picked from commit e46eea26d30f2dae6fba1a46131b6f0656acbf3c) --- diff --git a/lib/sqlalchemy/testing/provision.py b/lib/sqlalchemy/testing/provision.py index 95fa2f8f75..487b610485 100644 --- a/lib/sqlalchemy/testing/provision.py +++ b/lib/sqlalchemy/testing/provision.py @@ -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"):