2006-01-30 hack BUG

snap060130-moinerror.png

   1 ## site-packages\MoinMoin\macro\RecentChanges.py line 29 左右
   2     if line.action[:3] == 'ATT':
   3         import urllib
   4         try:
   5             filename = urllib.unquote(line.extra)
   6         except:
   7             filename = "filename can not display...maybe UnicodeDecodeError"
   8         if line.action == 'ATTNEW':
   9             try:
  10                 comment = _("Upload of attachment '%(filename)s'.") % {'filename': filename}
  11             except:
  12                 comment = _("Upload of attachment '%(filename)s'.") % "filename can not display..."

FIXED

woodpecker-log/2006-01-30 (last edited 2009-12-25 07:09:27 by localhost)