changeset 3979:0b1d6e252e1f

remove useless code. href.lstrip('/') did same work
author Byeongweon [tasyblue@gmail.com]
date Wed, 23 Jul 2008 16:02:03 +0900
parents 76dfe53612a0
children c2e6b2b00277
files MoinMoin/converter/text_html_text_moin_wiki.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Wed Jul 23 15:40:32 2008 +0900
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Wed Jul 23 16:02:03 2008 +0900
@@ -1164,8 +1164,6 @@
                 else:
                     raise ConvertError("Invalid InterWiki link: '%s'" % href)
             elif css_class == "badinterwiki" and title:
-                if href == "/": # we used this as replacement for empty href
-                    href = ""
                 pagename = wikiutil.url_unquote(href.lstrip('/'))
                 interwikiname = "%s:%s" % (title, pagename)
             if interwikiname and pagename == desc: