]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
- since non-oracle urls are written, filter on just
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Aug 2017 16:06:44 +0000 (12:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Aug 2017 16:06:44 +0000 (12:06 -0400)
the oracle urls for the DB dropper

Change-Id: I1835c1b312a21a48657d89a84ed1041d6d5ebd73

alembic/testing/provision.py

index 3e0974feb4031baeee4b110b9e348bcf1584cf6d..45289d11479479ee3e2d4ab5631ea405152d9419 100644 (file)
@@ -290,6 +290,8 @@ def reap_oracle_dbs(idents_file):
             urls[db_url].append(db_name)
 
     for url in urls:
+        if not url.startswith("oracle"):
+            continue
         idents = urls[url]
         log.info("db reaper connecting to %r", url)
         eng = create_engine(url)