changeset 6478:a135374ed5fc

patchbomb: fix cStringIO import (spotted by pychecker)
author Christian Ebert <blacktrash@gmx.net>
date Sat, 05 Apr 2008 17:48:10 +0200
parents 301d2441fae2
children ee7762515a41
files hgext/patchbomb.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/patchbomb.py	Sat Apr 05 00:11:36 2008 +0200
+++ b/hgext/patchbomb.py	Sat Apr 05 17:48:10 2008 +0200
@@ -64,10 +64,9 @@
 #
 # That should be all.  Now your patchbomb is on its way out.
 
-import os, errno, socket, tempfile
+import os, errno, socket, tempfile, cStringIO
 import email.MIMEMultipart, email.MIMEText, email.MIMEBase
 import email.Utils, email.Encoders, email.Generator
-import cStringIO.StringIO
 from mercurial import cmdutil, commands, hg, mail, patch, util
 from mercurial.i18n import _
 from mercurial.node import bin