mail: updated comment
authorMartin Geisler <mg@lazybytes.net>
Fri, 08 May 2009 15:14:04 +0200
changeset 8343 6fbbb90261b1
parent 8342 b24290c72a1d
child 8344 873429914ec5
mail: updated comment
mercurial/mail.py
--- a/mercurial/mail.py	Mon May 11 13:03:34 2009 +0300
+++ b/mercurial/mail.py	Fri May 08 15:14:04 2009 +0200
@@ -119,7 +119,7 @@
     charsets = [cs.lower() for cs in ui.configlist('email', 'charsets')]
     fallbacks = [encoding.fallbackencoding.lower(),
                  encoding.encoding.lower(), 'utf-8']
-    for cs in fallbacks: # util.unique does not keep order
+    for cs in fallbacks: # find unique charsets while keeping order
         if cs not in charsets:
             charsets.append(cs)
     return [cs for cs in charsets if not cs.endswith('ascii')]