commit:     75a7b951a560d5325eac83df884aab9db0d73139
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 11 17:38:09 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 08:50:00 2017 +0000
URL:        https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=75a7b951

reorganise imports

 src/py/xml-rewrite-2.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/py/xml-rewrite-2.py b/src/py/xml-rewrite-2.py
index 42cb7d3..721147b 100755
--- a/src/py/xml-rewrite-2.py
+++ b/src/py/xml-rewrite-2.py
@@ -2,10 +2,12 @@
 # Copyright 2004-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public Licence v2
 
+
 import sys
 import io
 from xml.sax.saxutils import quoteattr, escape
 from optparse import OptionParser, make_option
+from xml.sax.saxutils import XMLGenerator
 
 
 def add_gentoo_classpath(document):
@@ -159,9 +161,6 @@ class ExpatRewriter(StreamRewriterBase):
         self.p(escape(data))
 
 
-from xml.sax.saxutils import XMLGenerator
-
-
 class SaxRewriter(XMLGenerator, StreamRewriterBase):
     """
     Using Sax gives us the support for writing back doctypes and all easily

Reply via email to