Author: duncan
Date: Wed Jan 31 19:01:36 2007
New Revision: 9118

Modified:
   branches/rel-1/freevo/src/skins/main/area.py

Log:
Applied the sugessted patch to prevent a crash when the level is 0 for a daemon 
plugin


Modified: branches/rel-1/freevo/src/skins/main/area.py
==============================================================================
--- branches/rel-1/freevo/src/skins/main/area.py        (original)
+++ branches/rel-1/freevo/src/skins/main/area.py        Wed Jan 31 19:01:36 2007
@@ -622,9 +622,15 @@
 
         # set default values from 'content'
         if x == -1:
-            x = content.x
+            if hasattr(content, 'x'):
+                x = content.x
+            else:
+                print 'No content.x for %s' % (self.name)
         if y == -1:
-            y = content.y
+            if hasattr(content, 'y'):
+                y = content.y
+            else:
+                print 'No content.y for %s' % (self.name)
 
         if width == None:
             width  = content.width

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