Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3789/tv
Modified Files:
epg_types.py
Log Message:
Move stuff into __init__() and fix a bug for twisted's serialization.
Index: epg_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/epg_types.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** epg_types.py 5 Mar 2004 20:49:11 -0000 1.17
--- epg_types.py 22 Jun 2004 01:07:49 -0000 1.18
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.18 2004/06/22 01:07:49 rshortt
+ # Move stuff into __init__() and fix a bug for twisted's serialization.
+ #
# Revision 1.17 2004/03/05 20:49:11 rshortt
# Add support for searching by movies only. This uses the date field in xmltv
***************
*** 82,89 ****
# The file format version number. It must be updated when incompatible
# changes are made to the file format.
! EPG_VERSION = 4
!
! TRUE = 1
! FALSE = 0
--- 85,89 ----
# The file format version number. It must be updated when incompatible
# changes are made to the file format.
! EPG_VERSION = 5
***************
*** 99,112 ****
class TvProgram:
! channel_id = ''
! title = ''
! desc = ''
! sub_title = ''
! start = 0.0
! stop = 0.0
! ratings = {}
! categories = []
! scheduled = False
! date = None
def __str__(self):
--- 99,118 ----
class TvProgram:
! def __init__(self):
! self.channel_id = ''
! self.title = ''
! self.desc = ''
! self.sub_title = ''
! self.start = 0.0
! self.stop = 0.0
! self.ratings = {}
! self.advisories = []
! self.categories = []
! self.date = None
!
! # Due to problems with Twisted's marmalade this should not be changed
! # to a boolean type.
! self.scheduled = 0
!
def __str__(self):
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog