Patchwork [03,of,10,V3,py3,support] subrepo: move import of xml.minidom.dom to its own line for check-code

login
register
mail settings
Submitter Augie Fackler
Date Sept. 20, 2013, 5:19 p.m.
Message ID <b039ade816515f7d0c5d.1379697574@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2568/
State Accepted
Commit c26690fe5f0857e360d3f6383576abeaebbf0d5e
Headers show

Comments

Augie Fackler - Sept. 20, 2013, 5:19 p.m.
# HG changeset patch
# User Augie Fackler <raf@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

Patch

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