[PATCH 03 of 10 V3 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 12:19:34 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 b039ade816515f7d0c5d64034bc4bc407158ca3a
# Parent b622467e7d478b7c66572c5b1734242189a2b9e8
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