changeset 29697:00269c6e4f6e

py3: use unicode literals in crecord.py
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 04 Aug 2016 00:21:14 +0530
parents 2f64e5a6efb8
children f15f31505f12
files mercurial/crecord.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/crecord.py	Thu Aug 04 00:15:39 2016 +0530
+++ b/mercurial/crecord.py	Thu Aug 04 00:21:14 2016 +0530
@@ -28,7 +28,7 @@
 
 # This is required for ncurses to display non-ASCII characters in default user
 # locale encoding correctly.  --immerrr
-locale.setlocale(locale.LC_ALL, '')
+locale.setlocale(locale.LC_ALL, u'')
 
 # patch comments based on the git one
 diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context).