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

Comments

Augie Fackler - Sept. 20, 2013, 2:23 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1379686523 14400
#      Fri Sep 20 10:15:23 2013 -0400
# Node ID edf0064f32a6e4b22630afb605e0bba72fdc5f65
# Parent  260d19aed7b60cdb8a310ff24e52c7c80c416b53
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