diff options
author | Rob Austein <sra@hactrn.net> | 2013-04-03 04:01:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-04-03 04:01:05 +0000 |
commit | 54af2beac87f906f886a29bbd884886b0d662ba0 (patch) | |
tree | f5a221ff2085472b333a17fef3d9a3ccde562c65 /rpkid/rpki/gui/script_util.py | |
parent | a339896167dc00ab668d927edf00f3c48d2b100a (diff) |
Use rpki.autoconf instead of whacky generated script headers. More
cleanup along these lines still to be done, but this is a start.
svn path=/trunk/; revision=5257
Diffstat (limited to 'rpkid/rpki/gui/script_util.py')
-rw-r--r-- | rpkid/rpki/gui/script_util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpkid/rpki/gui/script_util.py b/rpkid/rpki/gui/script_util.py index bb0fb427..c3a864fd 100644 --- a/rpkid/rpki/gui/script_util.py +++ b/rpkid/rpki/gui/script_util.py @@ -19,7 +19,7 @@ This module contains utility functions for use in standalone scripts. from django.conf import settings from rpki import config -from rpki.gui import autoconf +from rpki import autoconf __version__ = '$Id$' @@ -28,7 +28,6 @@ def setup(): """ Configure Django enough to use the ORM. """ - config.default_dirname = autoconf.sysconfdir cfg = config.parser(section='web_portal') # INSTALLED_APPS doesn't seem necessary so long as you are only accessing # existing tables. |