diff MoinMoin/action/AttachFile.py @ 1816:4a31739bc6e1

Page.url(): removed escaping support
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Feb 2007 03:08:18 +0100
parents dca96e7c8199
children b180f047d918
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Sat Feb 24 20:42:21 2007 +0100
+++ b/MoinMoin/action/AttachFile.py	Sun Feb 25 03:08:18 2007 +0100
@@ -159,8 +159,7 @@
     if os.path.isdir(attach_dir):
         files = os.listdir(attach_dir)
     page = Page(request, pagename)
-    # TODO: remove escape=0 in 2.0
-    link = page.url(request, {'action': 'AttachFile'}, escape=0)
+    link = page.url(request, {'action': 'AttachFile'})
     attach_info = _('There are <a href="%(link)s">%(count)s attachment(s)</a> stored for this page.', formatted=False) % {
         'count': len(files),
         'link': wikiutil.escape(link)