mail: correct typo in variable name
authorChristian Ebert <blacktrash@gmx.net>
Tue, 21 Oct 2008 10:29:57 +0200
changeset 7195 9fabcb1fe68d
parent 7194 040e325e4f69
child 7196 3f6a4f1de43f
mail: correct typo in variable name
mercurial/mail.py
--- a/mercurial/mail.py	Mon Oct 20 18:29:44 2008 +0200
+++ b/mercurial/mail.py	Tue Oct 21 10:29:57 2008 +0200
@@ -128,7 +128,7 @@
                 except UnicodeEncodeError:
                     pass
                 except LookupError:
-                    ui.warn(_('ignoring invalid sendcharset: %s\n') % cs)
+                    ui.warn(_('ignoring invalid sendcharset: %s\n') % ocs)
     # if ascii, or all conversion attempts fail, send (broken) ascii
     return s, 'us-ascii'