[Zope-dev] Problem with StructuredText and expandtabs

Dieter Maurer dieter@handshake.de
Tue, 7 Aug 2001 19:29:36 +0200 (CEST)


Bill Anderson writes:
 > I am trying to use StructuredText outside Zope. I can import it fine,
 > but when I try to use it I get:
 > 
 > ======================================
 > >>> st=StructuredText.Basic(raw)
 > Traceback (most recent call last):
 >   File "<stdin>", line 1, in ?
 >   File "ST.py", line 113, in StructuredText
 >     paragraphs = expandtabs(paragraphs)
 >   File "/usr/lib/python2.1/string.py", line 295, in expandtabs
 >     return s.expandtabs(tabsize)
 > AttributeError: expandtabs
Apparently, your "s" is not a string...


Dieter