Update of /cvsroot/vdrpylib/vdrpylib/vdr
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27883
Modified Files:
timer.py
Log Message:
Update types support.
Index: timer.py
===================================================================
RCS file: /cvsroot/vdrpylib/vdrpylib/vdr/timer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** timer.py 25 Nov 2002 22:00:16 -0000 1.2
--- timer.py 24 Nov 2004 17:07:46 -0000 1.3
***************
*** 30,33 ****
--- 30,34 ----
import re
import string
+ from types import *
***************
*** 181,185 ****
parsed successfully.
"""
! if s is not None and isinstance(s, string._StringType) and len(s) > 5:
s = s.strip()
if s[0:3] == '250':
--- 182,186 ----
parsed successfully.
"""
! if s is not None and isinstance(s, StringType) and len(s) > 5:
s = s.strip()
if s[0:3] == '250':
|