summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/importscript.py
diff options
context:
space:
mode:
authorJoey Hagedorn <hagedorn@mcs.anl.gov>2006-11-22 21:55:29 +0000
committerJoey Hagedorn <hagedorn@mcs.anl.gov>2006-11-22 21:55:29 +0000
commit872363f0c5f4b10de9f376b9340b3f7c7d1d9664 (patch)
tree503a0ce01052ff8eecbe28c6bb7ac991d5c51b28 /src/lib/Server/Reports/importscript.py
parent67011d71eb012239fd56bb626d19d34f0c060269 (diff)
downloadbcfg2-872363f0c5f4b10de9f376b9340b3f7c7d1d9664.tar.gz
bcfg2-872363f0c5f4b10de9f376b9340b3f7c7d1d9664.tar.bz2
bcfg2-872363f0c5f4b10de9f376b9340b3f7c7d1d9664.zip
Moved the new reporting system in to Server module.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2525 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/importscript.py')
-rwxr-xr-xsrc/lib/Server/Reports/importscript.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Reports/importscript.py b/src/lib/Server/Reports/importscript.py
index 252fce886..39e4ea77b 100755
--- a/src/lib/Server/Reports/importscript.py
+++ b/src/lib/Server/Reports/importscript.py
@@ -7,9 +7,9 @@ try:
import settings
except ImportError:
try:
- import brpt.settings
+ import Bcfg2.Server.Reports.settings
except ImportError:
- sys.stderr.write("Failed to locate settings.py. Is brpt python module installed?")
+ sys.stderr.write("Failed to locate settings.py. Is Bcfg2.Server.Reports python module installed?")
sys.exit(1)
project_directory = os.path.dirname(settings.__file__)
@@ -20,7 +20,7 @@ sys.path.pop()
# Set DJANGO_SETTINGS_MODULE appropriately.
os.environ['DJANGO_SETTINGS_MODULE'] = '%s.settings' % project_name
-from brpt.reports.models import Client, Interaction, Bad, Modified, Extra, Performance, Reason
+from Bcfg2.Server.Reports.reports.models import Client, Interaction, Bad, Modified, Extra, Performance, Reason
from lxml.etree import XML, XMLSyntaxError
from sys import argv
from getopt import getopt, GetoptError