From b91e76a4f7b9827d0d15c3c562af77f900a92091 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 11 Oct 2021 12:30:10 -0400 Subject: rename elements to main There are still some SQLite / MySQL specific occurrences of "master" but this is most of it. Change-Id: I0144c992e2f0207777e20e058b63a11c031986b9 --- lib/sqlalchemy/testing/plugin/bootstrap.py | 2 +- lib/sqlalchemy/testing/plugin/plugin_base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sqlalchemy/testing/plugin') diff --git a/lib/sqlalchemy/testing/plugin/bootstrap.py b/lib/sqlalchemy/testing/plugin/bootstrap.py index 1f568dfc8..b4691c57d 100644 --- a/lib/sqlalchemy/testing/plugin/bootstrap.py +++ b/lib/sqlalchemy/testing/plugin/bootstrap.py @@ -12,7 +12,7 @@ of the same test environment and standard suites available to SQLAlchemy/Alembic themselves without the need to ship/install a separate package outside of SQLAlchemy. -NOTE: copied/adapted from SQLAlchemy master for backwards compatibility; +NOTE: copied/adapted from SQLAlchemy main for backwards compatibility; this should be removable when Alembic targets SQLAlchemy 1.0.0. """ diff --git a/lib/sqlalchemy/testing/plugin/plugin_base.py b/lib/sqlalchemy/testing/plugin/plugin_base.py index 8f486dc8d..d2e4a0f69 100644 --- a/lib/sqlalchemy/testing/plugin/plugin_base.py +++ b/lib/sqlalchemy/testing/plugin/plugin_base.py @@ -434,7 +434,7 @@ def _engine_uri(options, file_config): for db_url in expanded_urls: log.info("Adding database URL: %s", db_url) - if options.write_idents and provision.FOLLOWER_IDENT: # != 'master': + if options.write_idents and provision.FOLLOWER_IDENT: with open(options.write_idents, "a") as file_: file_.write(provision.FOLLOWER_IDENT + " " + db_url + "\n") -- cgit v1.2.1