Browse Source

Update SOAPBuilder.py

main
Davorin Kunstelj 10 years ago
parent
commit
7840efc812
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/SOAPpy/SOAPBuilder.py

+ 1
- 1
src/SOAPpy/SOAPBuilder.py View File

@@ -679,7 +679,7 @@ class SOAPBuilder:
self.out.append('<%s%s%s>\n' % (tag, id, r))

d1 = getattr(obj, '__dict__', None)
if d1 is None and hasattr(obj, "__slots__")
if d1 is None and hasattr(obj, "__slots__"):
d1 = dict(((k, getattr(obj, k)) for k in obj.__slots__))
if d1 is not None:
for (k, v) in d1.items():


Loading…
Cancel
Save