Mercurial > hg-stable
changeset 24314:348492ba632a
crecord: more import style
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 16 Mar 2015 12:58:06 -0500 |
parents | ed535f2c15c3 |
children | 7d5f935bd705 |
files | mercurial/crecord.py |
diffstat | 1 files changed, 2 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/crecord.py Mon Mar 16 12:55:21 2015 -0500 +++ b/mercurial/crecord.py Mon Mar 16 12:58:06 2015 -0500 @@ -12,16 +12,8 @@ import patch as patchmod import util, encoding -import os -import re -import sys -import fcntl -import struct -import termios -import signal -import tempfile -import locale -import cStringIO +import os, re, sys, fcntl, struct, termios, signal, tempfile, locale, cStringIO + # This is required for ncurses to display non-ASCII characters in default user # locale encoding correctly. --immerrr locale.setlocale(locale.LC_ALL, '')