This bug is pretty annoying, because I can't use straw while the bug
exists.  Here's one way to make straw work:

[EMAIL PROTECTED]:/usr/lib/straw/straw$ diff -u utils.py~ utils.py
--- utils.py~   2006-01-22 09:06:51.000000000 -0800
+++ utils.py    2006-04-30 10:51:08.000000000 -0700
@@ -94,7 +94,8 @@
     if encoding.find('.') > 0:
         encoding = encoding.split('.')[1] # get the encoding
     timestr = time.strftime(format, time.localtime(calendar.timegm(date)))
-    return unicode(timestr, encoding)
+    #return unicode(timestr, encoding)
+    return timestr

 def get_date_format():
     # this is here just to make xgettext happy: it should be defined in

I also removed utils.pyc just in case.

pat


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to