diff options
author | Adrian Likins <alikins@redhat.com> | 2007-09-20 17:40:59 -0400 |
---|---|---|
committer | Adrian Likins <alikins@redhat.com> | 2007-09-20 17:40:59 -0400 |
commit | 50250e45f0c225198e08097a525cc5ff1b91474d (patch) | |
tree | d28dc5f4d699cad3387ee97be26f52e4ff701eb4 | |
parent | 5b0f3d1e802f4dbdee9b36fa5a526b63dd20f364 (diff) | |
download | third_party-func-50250e45f0c225198e08097a525cc5ff1b91474d.tar.gz third_party-func-50250e45f0c225198e08097a525cc5ff1b91474d.tar.xz third_party-func-50250e45f0c225198e08097a525cc5ff1b91474d.zip |
debug spew cleanup to protect the unwashed masses from foo poisoning
-rwxr-xr-x | server/module_loader.py | 9 | ||||
-rwxr-xr-x | server/server.py | 3 |
2 files changed, 4 insertions, 8 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": diff --git a/server/server.py b/server/server.py index 42adcda..7b0a1a2 100755 --- a/server/server.py +++ b/server/server.py @@ -62,9 +62,7 @@ class XmlRpcInterface(object): FIXME: eventually calling most functions should go from here through getattr. """ self.handlers = {} - print "ffffffffffff", self.modules.keys() for x in self.modules.keys(): - print "x", x try: self.modules[x].register_rpc(self.handlers) self.logger.debug("adding %s" % x) @@ -185,7 +183,6 @@ def main(argv): module_path="modules/" mod_path="server/" - print "module_path_foo", module_path modules = module_loader.load_modules(module_path=module_path) print "modules", modules |