Revision a7d2ae87 conf/ci/manage.py
b/conf/ci/manage.py | ||
---|---|---|
53 | 53 |
from django.core.management import execute_manager |
54 | 54 |
try: |
55 | 55 |
import settings # Assumed to be in the same directory. |
56 |
path = os.path.normpath(os.path.join(os.getcwd(), '..')) |
|
57 |
sys.path.append(path) |
|
56 | 58 |
except ImportError: |
57 | 59 |
import sys |
58 | 60 |
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory") |
Also available in: Unified diff