[PATCH 03 of 13 V2 py3 support] subrepo: move import of xml.minidom.dom to its own line for check-code

Augie Fackler raf at durin42.com
Fri Sep 20 09:23:41 CDT 2013


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1379686537 14400
#      Fri Sep 20 10:15:37 2013 -0400
# Node ID 7b7fcecd91f45e3c5234fa087ecdc892115ea0fc
# Parent  edf0064f32a6e4b22630afb605e0bba72fdc5f65
subrepo: move import of xml.minidom.dom to its own line for check-code

diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py
--- a/mercurial/subrepo.py
+++ b/mercurial/subrepo.py
@@ -5,7 +5,8 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import errno, os, re, xml.dom.minidom, shutil, posixpath, sys
+import errno, os, re, shutil, posixpath, sys
+import xml.dom.minidom
 import stat, subprocess, tarfile
 from i18n import _
 import config, scmutil, util, node, error, cmdutil, bookmarks, match as matchmod


More information about the Mercurial-devel mailing list