Author: dmeyer
Date: Sun Feb  4 20:19:35 2007
New Revision: 2456

Modified:
   trunk/popcorn/src/backends/__init__.py

Log:
cleanup, no need to import manager

Modified: trunk/popcorn/src/backends/__init__.py
==============================================================================
--- trunk/popcorn/src/backends/__init__.py      (original)
+++ trunk/popcorn/src/backends/__init__.py      Sun Feb  4 20:19:35 2007
@@ -32,16 +32,12 @@
 
 config = []
 
-if not __file__.startswith(sys.argv[0]):
-    # import only when we are not a called child process
-    from manager import *
-
-    for backend in os.listdir(os.path.dirname(__file__)):
-        dirname = os.path.join(os.path.dirname(__file__), backend)
-        if os.path.isdir(dirname):
-            try:
-                # import the backend config
-                exec('from %s.config import config as c' % backend)
-                config.append((backend, c))
-            except ImportError:
-                continue
+for backend in os.listdir(os.path.dirname(__file__)):
+    dirname = os.path.join(os.path.dirname(__file__), backend)
+    if os.path.isdir(dirname):
+        try:
+            # import the backend config
+            exec('from %s.config import config as c' % backend)
+            config.append((backend, c))
+        except ImportError:
+            continue

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to