don't assume filenames are lowercase
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 12 Aug 2010 11:37:05 +0000 (13:37 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 12 Aug 2010 11:37:05 +0000 (13:37 +0200)
apps/wiki/models.py

index 438ec5d..da8681a 100644 (file)
@@ -35,7 +35,7 @@ def normalize_name(name):
     >>> normalize_name("gąska".decode('utf-8'))
     u'g\u0105ska'
     """
     >>> normalize_name("gąska".decode('utf-8'))
     u'g\u0105ska'
     """
-    return unicode(name).translate(_PCHARS_DICT).lower()
+    return unicode(name).translate(_PCHARS_DICT)
 
 STAGE_TAGS_RE = re.compile(r'^#stage-finished: (.*)$', re.MULTILINE)
 
 
 STAGE_TAGS_RE = re.compile(r'^#stage-finished: (.*)$', re.MULTILINE)