# HG changeset patch # User Benoit Boissinot # Date 1167050220 -3600 # Node ID ba45041827a2b7380186016ac681b24a8c562ae7 # Parent 2b8825c94c5a9a145d8421210d466a524f566541 remove various unused import diff -r 2b8825c94c5a -r ba45041827a2 contrib/churn.py --- 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 @@ # # -import time, sys, signal, os +import sys from mercurial.i18n import gettext as _ from mercurial import hg, mdiff, cmdutil, ui, util, templater, node diff -r 2b8825c94c5a -r ba45041827a2 hgext/hgk.py --- 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): diff -r 2b8825c94c5a -r ba45041827a2 hgext/mq.py --- 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" diff -r 2b8825c94c5a -r ba45041827a2 hgext/patchbomb.py --- 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 _ diff -r 2b8825c94c5a -r ba45041827a2 mercurial/hgweb/request.py --- 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): diff -r 2b8825c94c5a -r ba45041827a2 mercurial/mail.py --- 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.''' diff -r 2b8825c94c5a -r ba45041827a2 mercurial/patch.py --- 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