summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-04-19 07:37:31 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-04-19 07:37:31 -0500
commitfe0076bb34aaf77b773c0951e2b5141af2d08331 (patch)
treea2d2a99a70a30f9053192e6b8637fe66f269bd76
parent15fd75e2b8fd8992714881b7dd832d787bca5e30 (diff)
downloadbcfg2-fe0076bb34aaf77b773c0951e2b5141af2d08331.tar.gz
bcfg2-fe0076bb34aaf77b773c0951e2b5141af2d08331.tar.bz2
bcfg2-fe0076bb34aaf77b773c0951e2b5141af2d08331.zip
Reports: Fix import error (Reported by emias on IRC)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rwxr-xr-xsrc/lib/Server/Reports/manage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/manage.py b/src/lib/Server/Reports/manage.py
index 4f84f107a..858bddeca 100755
--- a/src/lib/Server/Reports/manage.py
+++ b/src/lib/Server/Reports/manage.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from django.core.management import execute_manager
try:
- from . import settings # Assumed to be in the same directory.
+ import settings # Assumed to be in the same directory.
except ImportError:
import sys
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)