hgext/convert/gnuarch.py
changeset 35633 a981ab2a1b4c
parent 35176 671aba341d90
child 36607 c6061cadb400
--- a/hgext/convert/gnuarch.py	Fri Jan 12 22:18:42 2018 +0900
+++ b/hgext/convert/gnuarch.py	Sat Dec 30 00:13:56 2017 +0530
@@ -7,7 +7,7 @@
 # GNU General Public License version 2 or any later version.
 from __future__ import absolute_import
 
-import email
+import email.parser as emailparser
 import os
 import shutil
 import stat
@@ -63,7 +63,7 @@
         self.changes = {}
         self.parents = {}
         self.tags = {}
-        self.catlogparser = email.Parser.Parser()
+        self.catlogparser = emailparser.Parser()
         self.encoding = encoding.encoding
         self.archives = []