1 class EPGRefreshService(object):
2 def __init__(self, sref, duration):
4 self.duration = duration
6 def __eq__(self, other):
7 if hasattr(other, 'sref'):
8 return self.sref == other.sref
12 return self.sref.__hash__()
19 '<EPGRefreshService (',
22 str(self.duration or '?'),