[Spambayes-checkins] website/scripts/ht2html Sidebar.py,1.2,1.3
Skip Montanaro
montanaro at users.sourceforge.net
Thu Jun 5 09:13:57 EDT 2003
Update of /cvsroot/spambayes/website/scripts/ht2html
In directory sc8-pr-cvs1:/tmp/cvs-serv18814
Modified Files:
Sidebar.py
Log Message:
make StringIO import technique consistent across all uses
Index: Sidebar.py
===================================================================
RCS file: /cvsroot/spambayes/website/scripts/ht2html/Sidebar.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Sidebar.py 13 Jan 2003 03:57:58 -0000 1.2
--- Sidebar.py 5 Jun 2003 15:13:54 -0000 1.3
***************
*** 4,8 ****
import sys
from types import StringType
! from cStringIO import StringIO
# a useful constant
--- 4,11 ----
import sys
from types import StringType
! try:
! from cStringIO import StringIO
! except ImportError:
! from StringIO import StringIO
# a useful constant
More information about the Spambayes-checkins
mailing list