From 8ac1f1e9010bb1a3c4b1a0890824b9efa3ab737b Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 2 Oct 2014 00:15:36 -0400 Subject: Fix the test suite. * Fix a couple of typos. * Make the script_location and alembic_scripts a resource paths. --- src/mailman/database/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/database') diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py index e49d512c0..4c418c289 100644 --- a/src/mailman/database/base.py +++ b/src/mailman/database/base.py @@ -100,7 +100,7 @@ class SABaseDatabase: # alembic_version table. alembic_cfg = Config() alembic_cfg.set_main_option( - 'script_location', expand_path(config.database['alembic_scripts'])) + 'script_location', config.database['alembic_scripts']) command.stamp(alembic_cfg, 'head') -- cgit v1.2.3-70-g09d2 From 5166ae93e5c51285661f4ac251c0d4b9390fe785 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 2 Oct 2014 00:22:39 -0400 Subject: Remove an unused import. --- src/mailman/database/base.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mailman/database') diff --git a/src/mailman/database/base.py b/src/mailman/database/base.py index 4c418c289..26b6ddbbb 100644 --- a/src/mailman/database/base.py +++ b/src/mailman/database/base.py @@ -34,7 +34,6 @@ from zope.interface import implementer from mailman.config import config from mailman.interfaces.database import IDatabase from mailman.utilities.string import expand -from mailman.utilities.modules import expand_path log = logging.getLogger('mailman.config') -- cgit v1.2.3-70-g09d2