diff options
| author | Катаев Денис <bteamko@gmail.com> | 2017-03-17 14:19:21 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-03-17 14:19:21 -0400 |
| commit | 8f7cf2990f9010ea4924f2525318dff0ba1028d7 (patch) | |
| tree | 3e0e4b44d8c4d5c8ae8e63b9ff5842770ec23515 /lib/sqlalchemy/testing/provision.py | |
| parent | d96fc5d02a921820aa5973daf66445c880ca6cd4 (diff) | |
| download | sqlalchemy-8f7cf2990f9010ea4924f2525318dff0ba1028d7.tar.gz | |
New features from python 2.7
After bump minimum supported version to 2.7 (1da9d3752160430c91534a8868ceb8c5ad1451d4), we can use new syntax.
Change-Id: Ib064c75a00562e641d132f9c57e5e69744200e05
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/347
Diffstat (limited to 'lib/sqlalchemy/testing/provision.py')
| -rw-r--r-- | lib/sqlalchemy/testing/provision.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/provision.py b/lib/sqlalchemy/testing/provision.py index 7e4454465..83b6115fe 100644 --- a/lib/sqlalchemy/testing/provision.py +++ b/lib/sqlalchemy/testing/provision.py @@ -288,7 +288,7 @@ def reap_oracle_dbs(eng, 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 = set([username.lower() for (username, ) in to_reap]) + all_names = {username.lower() for (username, ) in to_reap} to_drop = set() for name in all_names: if name.endswith("_ts1") or name.endswith("_ts2"): |
