summaryrefslogtreecommitdiffstats
path: root/server/module_loader.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-20 17:40:59 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-20 17:40:59 -0400
commit50250e45f0c225198e08097a525cc5ff1b91474d (patch)
treed28dc5f4d699cad3387ee97be26f52e4ff701eb4 /server/module_loader.py
parent5b0f3d1e802f4dbdee9b36fa5a526b63dd20f364 (diff)
downloadfunc-50250e45f0c225198e08097a525cc5ff1b91474d.tar.gz
func-50250e45f0c225198e08097a525cc5ff1b91474d.tar.xz
func-50250e45f0c225198e08097a525cc5ff1b91474d.zip
debug spew cleanup to protect the unwashed masses from foo poisoning
Diffstat (limited to 'server/module_loader.py')
-rwxr-xr-xserver/module_loader.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/server/module_loader.py b/server/module_loader.py
index eed91b4..a54c2e9 100755
--- a/server/module_loader.py
+++ b/server/module_loader.py
@@ -26,7 +26,6 @@ def load_modules(module_path=None,
blacklist=None):
- print "\n\n\n\n\n why the heck is this getting called twice? \n\n\n"
module_file_path="%s/func/server/modules/" % distutils.sysconfig.get_python_lib()
mod_path="%s/func/server/" % distutils.sysconfig.get_python_lib()
@@ -38,16 +37,16 @@ def load_modules(module_path=None,
sys.path.insert(0, mod_path)
mods = {}
- print sys.path
- print mod_path
- print module_file_path
+# print sys.path
+# print mod_path
+# print module_file_path
filenames = glob.glob("%s/*.py" % module_file_path)
filenames = filenames + glob.glob("%s/*.pyc" % module_file_path)
filesnames = filenames + glob.glob("%s/*.pyo" % module_file_path)
- print "filenames", filenames
+# print "filenames", filenames
for fn in filenames:
basename = os.path.basename(fn)
if basename == "__init__.py":