From 273df4e11399d01c5dd5bb9ea1fcef9adf0414e5 Mon Sep 17 00:00:00 2001 From: e0d Date: Wed, 12 Jun 2013 11:24:28 -0400 Subject: [PATCH] added pylint ignores, fixed missing import --- lms/envs/aws_migrate.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lms/envs/aws_migrate.py b/lms/envs/aws_migrate.py index 595da6d78f..726b09874c 100644 --- a/lms/envs/aws_migrate.py +++ b/lms/envs/aws_migrate.py @@ -4,9 +4,14 @@ database migrations, since we don't want to normally run the LMS with enough privileges to modify the database schema. """ +# We intentionally define lots of variables that aren't used, and +# want to import all variables from base settings files +# pylint: disable=W0401, W0614 + # Import everything from .aws so that our settings are based on those. from .aws import * import os +from django.core.exceptions import ImproperlyConfigured USER = os.environ.get('DB_MIGRATION_USER', 'root') PASSWORD = os.environ.get('DB_MIGRATION_PASS', None)