From b9869e857edbbc93df4ba834522f68b1fc1cee9e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jordan=20Aug=C3=A9?= Date: Wed, 3 Oct 2012 09:18:06 +0200 Subject: [PATCH 1/1] fixed issue with python2.6 --- debian/sfa.debhelper.log | 35 ----------------------------------- wsdl/sfa2wsdl.py | 5 +++-- 2 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 debian/sfa.debhelper.log diff --git a/debian/sfa.debhelper.log b/debian/sfa.debhelper.log deleted file mode 100644 index b0a5c5d5..00000000 --- a/debian/sfa.debhelper.log +++ /dev/null @@ -1,35 +0,0 @@ -dh_auto_configure -dh_auto_build -dh_auto_test -dh_prep -dh_installdirs -dh_auto_install -dh_install -dh_installdocs -dh_installchangelogs -dh_installexamples -dh_installman -dh_installcatalogs -dh_installcron -dh_installdebconf -dh_installemacsen -dh_installifupdown -dh_installinfo -dh_installinit -dh_installmenu -dh_installmime -dh_installmodules -dh_installlogcheck -dh_installlogrotate -dh_installpam -dh_installppp -dh_installudev -dh_installwm -dh_installxfonts -dh_installgsettings -dh_bugfiles -dh_ucf -dh_lintian -dh_gconf -dh_icons -dh_perl diff --git a/wsdl/sfa2wsdl.py b/wsdl/sfa2wsdl.py index e794e898..0cfc8f13 100755 --- a/wsdl/sfa2wsdl.py +++ b/wsdl/sfa2wsdl.py @@ -9,7 +9,7 @@ import os, sys import time import pdb import xml.dom.minidom -import xml.dom.ext +#import xml.dom.ext import apistub import inspect @@ -327,7 +327,8 @@ class WSDLGen: def pretty_print(self): if (self.wsdl): - xml.dom.ext.PrettyPrint(self.wsdl) + #xml.dom.ext.PrettyPrint(self.wsdl) + xml.dom.minidom.Document.toprettyxml(self.wsdl) else: raise Exception("Empty WSDL") -- 2.43.0