changeset 7195:9fabcb1fe68d

mail: correct typo in variable name
author Christian Ebert <blacktrash@gmx.net>
date Tue, 21 Oct 2008 10:29:57 +0200
parents 040e325e4f69
children 3f6a4f1de43f
files mercurial/mail.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'