Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
273df4e1
Commit
273df4e1
authored
11 years ago
by
e0d
Browse files
Options
Downloads
Patches
Plain Diff
added pylint ignores, fixed missing import
parent
d715c61d
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/envs/aws_migrate.py
+5
-0
5 additions, 0 deletions
lms/envs/aws_migrate.py
with
5 additions
and
0 deletions
lms/envs/aws_migrate.py
+
5
−
0
View file @
273df4e1
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment