Mercurial > hg
comparison hgext/notify.py @ 25203:d4ccc455c953
notify: drop import required by Python 2.4
Toto, I've a feeling we're not in anno 2004 anymore.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 18 May 2015 16:24:16 -0500 |
parents | 80c5b2666a96 |
children | 328739ea70c3 |
comparison
equal
deleted
inserted
replaced
25202:a363c058872a | 25203:d4ccc455c953 |
---|---|
132 references. See also ``notify.strip``. | 132 references. See also ``notify.strip``. |
133 | 133 |
134 ''' | 134 ''' |
135 | 135 |
136 import email, socket, time | 136 import email, socket, time |
137 # On python2.4 you have to import this by name or they fail to | |
138 # load. This was not a problem on Python 2.7. | |
139 import email.Parser | |
140 from mercurial.i18n import _ | 137 from mercurial.i18n import _ |
141 from mercurial import patch, cmdutil, util, mail | 138 from mercurial import patch, cmdutil, util, mail |
142 import fnmatch | 139 import fnmatch |
143 | 140 |
144 # Note for extension authors: ONLY specify testedwith = 'internal' for | 141 # Note for extension authors: ONLY specify testedwith = 'internal' for |