Mercurial > hg > crecord
changeset 56:ea893a572965
- clean up some extraneous import statements
author | Mark Edgington <edgimar@gmail.com> |
---|---|
date | Sat, 17 Apr 2010 10:53:36 +0200 |
parents | 03f6f5a3ffad |
children | a77a8002662f |
files | crecord/chunk_selector.py crecord/crecord_core.py |
diffstat | 2 files changed, 12 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/crecord/chunk_selector.py +++ b/crecord/chunk_selector.py @@ -1,5 +1,4 @@ -from mercurial.i18n import gettext, _ -from mercurial import cmdutil, commands, extensions, hg, mdiff +from mercurial.i18n import _ from mercurial import util # accomodate older versions where encoding module doesn't yet exist @@ -10,13 +9,15 @@ except ImportError: encoding = util - -import copy, cStringIO, errno, operator, os, re, tempfile -import sys, fcntl, struct, termios - - +import os +import re +import sys +import fcntl +import struct +import termios import signal import locale + from crpatch import Patch, header, hunk, HunkLine # os.name is one of: 'posix', 'nt', 'dos', 'os2', 'mac', or 'ce'
--- a/crecord/crecord_core.py +++ b/crecord/crecord_core.py @@ -11,7 +11,10 @@ from mercurial.i18n import _ from mercurial import cmdutil, commands, extensions, hg, mdiff, patch from mercurial import util -import cStringIO, errno, os, re, tempfile +import cStringIO +import errno +import os +import tempfile import crpatch import chunk_selector