Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6408/src/tv/plugins

Modified Files:
        manual_record.py 
Log Message:
prevent crash for bad TV.xml

Index: manual_record.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/manual_record.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** manual_record.py    14 Mar 2004 01:14:39 -0000      1.4
--- manual_record.py    12 Apr 2004 14:58:38 -0000      1.5
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.5  2004/04/12 14:58:38  dischi
+ # prevent crash for bad TV.xml
+ #
  # Revision 1.4  2004/03/14 01:14:39  mikeruelle
  # not really the same file but the name got reused for new skin version
***************
*** 362,364 ****
--- 365,369 ----
  
      def items(self, parent):
+         if config.TV_CHANNELS:
              return [ ManualRecordItem(parent) ]
+         return []



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to