Update of /cvsroot/freevo/freevo/skins/dischi1
In directory sc8-pr-cvs1:/tmp/cvs-serv23389

Modified Files:
        area.py 
Log Message:
added some exception handling

Index: area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/skins/dischi1/area.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** area.py     22 Mar 2003 22:19:01 -0000      1.31
--- area.py     22 Mar 2003 22:26:46 -0000      1.32
***************
*** 28,31 ****
--- 28,34 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.32  2003/03/22 22:26:46  dischi
+ # added some exception handling
+ #
  # Revision 1.31  2003/03/22 22:19:01  dischi
  # fixed a redraw bug
***************
*** 748,751 ****
--- 751,758 ----
          in a variable. The real drawing is done inside draw()
          """
+ 
+         if not image:
+             return
+         
          if isinstance(image, str):
              cname = '%s-%s-%s' % (image, val.width, val.height)
***************
*** 757,760 ****
--- 764,770 ----
                  image = cimage
                  
+         if not image:
+             return
+         
          if isinstance(val, tuple):
              draw = ( 'content', ('image', image, val[0], val[1], image.get_width(),




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to