diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-08-12 15:39:34 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-08-12 15:39:34 +0000 |
commit | f8ada7a4bfad74083932b326255324919dce32af (patch) | |
tree | 56105c5cd88051270f817b120fc51dcdb8b10265 /src/lib/Server | |
parent | 6cda144d8f48f52c4768aa28f28208a70b8eed53 (diff) | |
download | bcfg2-f8ada7a4bfad74083932b326255324919dce32af.tar.gz bcfg2-f8ada7a4bfad74083932b326255324919dce32af.tar.bz2 bcfg2-f8ada7a4bfad74083932b326255324919dce32af.zip |
fix new path for imports
(Logical change 1.38)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@230 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index a87c6a589..615c16dff 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -57,11 +57,11 @@ class Core(object): self.pubspace = {} self.structures = [] for structure in structures: - s = getattr(__import__(structure),structure) + s = getattr(__import__("Bcfg2.Structures.%s"%(structure)),structure) self.structures.append(s(self, self.datastore)) self.generators = [] for generator in generators: - g = getattr(__import__(generator),generator) + g = getattr(__import__("Bcfg2.Generators.%s"%(generator)),generator) self.generators.append(g(self, self.datastore)) # we need to inventory and setup generators # Process generator requirements |