Patchwork [02,of,10,V3,py3,support] convert: 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 <b622467e7d478b7c6657.1379697573@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2567/
State Accepted
Commit 87f07f70f227e0bb958609dcfc2fd29828b34a99
Headers show

Comments

Augie Fackler - Sept. 20, 2013, 5:19 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686523 14400
#      Fri Sep 20 10:15:23 2013 -0400
# Node ID b622467e7d478b7c66572c5b1734242189a2b9e8
# Parent  5ab427877c1d31640f16bd8d44e60ccb4a81a022
convert: move import of xml.minidom.dom to its own line for check-code

Patch

diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py
--- a/hgext/convert/subversion.py
+++ b/hgext/convert/subversion.py
@@ -2,7 +2,8 @@ 
 #
 # Copyright(C) 2007 Daniel Holth et al
 
-import os, re, sys, tempfile, urllib, urllib2, xml.dom.minidom
+import os, re, sys, tempfile, urllib, urllib2
+import xml.dom.minidom
 import cPickle as pickle
 
 from mercurial import strutil, scmutil, util, encoding