fixed issue with python2.6
authorJordan Augé <jordan.auge@lip6.fr>
Wed, 3 Oct 2012 07:18:06 +0000 (09:18 +0200)
committerJordan Augé <jordan.auge@lip6.fr>
Wed, 3 Oct 2012 07:18:06 +0000 (09:18 +0200)
debian/sfa.debhelper.log [deleted file]
wsdl/sfa2wsdl.py

diff --git a/debian/sfa.debhelper.log b/debian/sfa.debhelper.log
deleted file mode 100644 (file)
index b0a5c5d..0000000
+++ /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
index e794e89..0cfc8f1 100755 (executable)
@@ -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")