comparison hgext/patchbomb.py @ 25202:a363c058872a

patchbomb: stop explicit import required by Python 2.4 Ding Dong, the witch is dead!
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 18 May 2015 16:22:15 -0500
parents 80c5b2666a96
children 328739ea70c3
comparison
equal deleted inserted replaced
25201:59d794154e8d 25202:a363c058872a
57 ``patchbomb.confirm`` to true. 57 ``patchbomb.confirm`` to true.
58 ''' 58 '''
59 59
60 import os, errno, socket, tempfile, cStringIO 60 import os, errno, socket, tempfile, cStringIO
61 import email 61 import email
62 # On python2.4 you have to import these by name or they fail to
63 # load. This was not a problem on Python 2.7.
64 import email.Generator
65 import email.MIMEMultipart
66 62
67 from mercurial import cmdutil, commands, hg, mail, patch, util 63 from mercurial import cmdutil, commands, hg, mail, patch, util
68 from mercurial import scmutil 64 from mercurial import scmutil
69 from mercurial.i18n import _ 65 from mercurial.i18n import _
70 from mercurial.node import bin 66 from mercurial.node import bin