45 |
|
|
46 |
from gnue.common.datasources import GDataObjects, GConditions |
from gnue.common.datasources import GDataObjects, GConditions |
47 |
from gnue.common.apps import GDebug |
from gnue.common.apps import GDebug |
48 |
|
from gnue import paths |
49 |
import string |
import string |
50 |
import types |
import types |
51 |
import md5 |
import md5 |
268 |
|
|
269 |
# replace placeholder "%configdir%" |
# replace placeholder "%configdir%" |
270 |
if self._filename[0:11]=="%configdir%": |
if self._filename[0:11]=="%configdir%": |
271 |
self._filename=os.environ["INSTALL_PREFIX"]+"/etc"+self._filename[11:] |
self._filename=paths.config+self._filename[11:] |
272 |
|
|
273 |
# try to open and parse file |
# try to open and parse file |
274 |
self._dataConnection = ConfigParser.ConfigParser() |
self._dataConnection = ConfigParser.ConfigParser() |