summaryrefslogtreecommitdiffstats
path: root/cobbler/utils.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-11-12 13:25:23 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-11-12 13:25:23 -0500
commit57f449cc30b59970b97d7ee4d74cc02a98e07e30 (patch)
tree24b59435eba407c06645eecfeed882c0b31c240b /cobbler/utils.py
parenta4dcebbff2db26dc22aadcc0f84328c19d52e48d (diff)
downloadthird_party-cobbler-57f449cc30b59970b97d7ee4d74cc02a98e07e30.tar.gz
third_party-cobbler-57f449cc30b59970b97d7ee4d74cc02a98e07e30.tar.xz
third_party-cobbler-57f449cc30b59970b97d7ee4d74cc02a98e07e30.zip
Abstract out the modules system to allow for other types of modules, and to also centralize configuration/loading/access some more.
Diffstat (limited to 'cobbler/utils.py')
-rw-r--r--cobbler/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/utils.py b/cobbler/utils.py
index 46f0010..ad72feb 100644
--- a/cobbler/utils.py
+++ b/cobbler/utils.py
@@ -25,6 +25,8 @@ import logging
from cexceptions import *
from rhpl.translate import _, N_, textdomain, utf8
+MODULE_CACHE = {}
+
# import api # factor out
_re_kernel = re.compile(r'vmlinuz(.*)')