Author: dmeyer
Date: Thu Aug 17 12:36:40 2006
New Revision: 8212

Modified:
   trunk/ui/src/directory.py

Log:
fix getting result from parent

Modified: trunk/ui/src/directory.py
==============================================================================
--- trunk/ui/src/directory.py   (original)
+++ trunk/ui/src/directory.py   Thu Aug 17 12:36:40 2006
@@ -251,9 +251,8 @@
             value = self.info.get('freevo_%s' % key[7:])
             if value and not value == 'auto':
                 return value == 'yes'
-            value = self.parent[key]
-            if value:
-                return value == 'yes'
+            if isinstance(self.parent, DirItem):
+                return self.parent[key]
             value = getattr(config, 'DIRECTORY_%s' % key[7:].upper(), False)
             if not isinstance(value, (list, tuple)):
                 if value in (1, True):

-------------------------------------------------------------------------
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