summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@mcs.anl.gov>2006-09-25 19:46:17 +0000
committerKen Raffenetti <raffenet@mcs.anl.gov>2006-09-25 19:46:17 +0000
commitd7c171bd05caa5ad988eeb876ed402157a7ff8e6 (patch)
tree6e595b18fc157564f15b44dc3e3d9d1269997bab /src/lib/Server
parent61b7d62456487754955ce3bbb37d7a5c9c6e4670 (diff)
downloadbcfg2-d7c171bd05caa5ad988eeb876ed402157a7ff8e6.tar.gz
bcfg2-d7c171bd05caa5ad988eeb876ed402157a7ff8e6.tar.bz2
bcfg2-d7c171bd05caa5ad988eeb876ed402157a7ff8e6.zip
fixed bug in loading templates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2311 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Hostbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Hostbase.py b/src/lib/Server/Plugins/Hostbase.py
index f382c381a..9d9a92f8e 100644
--- a/src/lib/Server/Plugins/Hostbase.py
+++ b/src/lib/Server/Plugins/Hostbase.py
@@ -9,7 +9,6 @@ from Bcfg2.Server.Plugin import Plugin, PluginExecutionError, PluginInitError, D
from time import strftime
from sets import Set
import re
-from django.template import loader, Context
## class DataNexus(DirectoryBacked):
## '''DataNexus is an object that watches multiple files and
@@ -48,6 +47,7 @@ class Hostbase(Plugin):
Plugin.__init__(self, core, datastore)
sys.path.append(self.data)
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
+ from django.template import loader, Context
## try:
## DataNexus.__init__(self, datastore + '/Hostbase/data',
## files, self.core.fam)