Author: duncan
Date: Sat Dec 30 23:12:47 2006
New Revision: 8876
Modified:
branches/rel-1/freevo/src/tv/epg_types.py
Log:
Added overlap for conflict detection
Modified: branches/rel-1/freevo/src/tv/epg_types.py
==============================================================================
--- branches/rel-1/freevo/src/tv/epg_types.py (original)
+++ branches/rel-1/freevo/src/tv/epg_types.py Sat Dec 30 23:12:47 2006
@@ -63,6 +63,7 @@
categories = None
date = None
scheduled = None
+ overlap = None
def __init__(self):
@@ -81,6 +82,7 @@
# Due to problems with Twisted's marmalade this should not be changed
# to a boolean type.
self.scheduled = 0
+ self.overlap = 0
def __str__(self):
@@ -126,7 +128,7 @@
if attr == 'time':
return self.getattr('start') + u' - ' + self.getattr('stop')
if hasattr(self, attr):
- return getattr(self,attr)
+ return getattr(self, attr)
return ''
@@ -296,4 +298,3 @@
s += String(chan)
return s
-
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog