git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
====
[plcapi.git]
/
wsdl
/
api2wsdl.py
diff --git
a/wsdl/api2wsdl.py
b/wsdl/api2wsdl.py
index
36866c9
..
296048e
100755
(executable)
--- a/
wsdl/api2wsdl.py
+++ b/
wsdl/api2wsdl.py
@@
-12,7
+12,6
@@
import os, sys
import time
import pdb
import xml.dom.minidom
import time
import pdb
import xml.dom.minidom
-import xml.dom.ext
import inspect
import globals
import inspect
import globals
@@
-24,12
+23,6
@@
from PLC.Parameter import Parameter, Mixed, python_type, xmlrpc_type
api = PLCAPI(None)
api = PLCAPI(None)
-try:
- set
-except NameError:
- from sets import Set
- set = Set
-
# Class functions
def param_type(param):
# Class functions
def param_type(param):
@@
-152,5
+145,5
@@
add_wsdl_ports_and_bindings(wsdl)
add_wsdl_service(wsdl)
add_wsdl_service(wsdl)
-
xml.dom.ext.PrettyPrint(wsdl
)
+
print wsdl.toprettyxml(
)