Mercurial > hg
changeset 3963:ba45041827a2
remove various unused import
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 25 Dec 2006 13:37:00 +0100 |
parents | 2b8825c94c5a |
children | 2308c39b9521 |
files | contrib/churn.py hgext/hgk.py hgext/mq.py hgext/patchbomb.py mercurial/hgweb/request.py mercurial/mail.py mercurial/patch.py |
diffstat | 7 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/churn.py Sun Dec 24 22:55:34 2006 +0100 +++ b/contrib/churn.py Mon Dec 25 13:37:00 2006 +0100 @@ -11,7 +11,7 @@ # # <alias email> <actual email> -import time, sys, signal, os +import sys from mercurial.i18n import gettext as _ from mercurial import hg, mdiff, cmdutil, ui, util, templater, node
--- a/hgext/hgk.py Sun Dec 24 22:55:34 2006 +0100 +++ b/hgext/hgk.py Mon Dec 25 13:37:00 2006 +0100 @@ -5,7 +5,7 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -import time, sys, signal, os +import sys, os from mercurial import hg, fancyopts, commands, ui, util, patch, revlog def difftree(ui, repo, node1=None, node2=None, *files, **opts):
--- a/hgext/mq.py Sun Dec 24 22:55:34 2006 +0100 +++ b/hgext/mq.py Mon Dec 25 13:37:00 2006 +0100 @@ -31,7 +31,7 @@ from mercurial.i18n import _ from mercurial import commands, cmdutil, hg, patch, revlog, util, changegroup -import os, sys, re, struct, traceback, errno, bz2 +import os, sys, re, errno commands.norepo += " qclone qversion"
--- a/hgext/patchbomb.py Sun Dec 24 22:55:34 2006 +0100 +++ b/hgext/patchbomb.py Mon Dec 25 13:37:00 2006 +0100 @@ -63,7 +63,7 @@ # # That should be all. Now your patchbomb is on its way out. -import os, errno, popen2, socket, sys, tempfile, time +import os, errno, socket, time import email.MIMEMultipart, email.MIMEText, email.Utils from mercurial import cmdutil, commands, hg, mail, ui, patch from mercurial.i18n import _
--- a/mercurial/hgweb/request.py Sun Dec 24 22:55:34 2006 +0100 +++ b/mercurial/hgweb/request.py Mon Dec 25 13:37:00 2006 +0100 @@ -6,7 +6,7 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -import socket, sys, cgi, os, errno +import socket, cgi, errno from mercurial.i18n import gettext as _ class wsgiapplication(object):
--- a/mercurial/mail.py Sun Dec 24 22:55:34 2006 +0100 +++ b/mercurial/mail.py Mon Dec 25 13:37:00 2006 +0100 @@ -6,7 +6,7 @@ # of the GNU General Public License, incorporated herein by reference. from i18n import _ -import os, re, smtplib, templater, util +import os, smtplib, templater, util def _smtp(ui): '''send mail using smtp.'''
--- a/mercurial/patch.py Sun Dec 24 22:55:34 2006 +0100 +++ b/mercurial/patch.py Mon Dec 25 13:37:00 2006 +0100 @@ -8,7 +8,7 @@ from i18n import _ from node import * import base85, cmdutil, mdiff, util -import cStringIO, email.Parser, errno, os, popen2, re, shutil, sha +import cStringIO, email.Parser, os, popen2, re, sha import sys, tempfile, zlib # helper functions