Patchwork [03,of,13,V2,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, 2:23 p.m.
Message ID <7b7fcecd91f45e3c5234.1379687021@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2549/
State Superseded
Headers show

Comments

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

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