File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 44
44
# 2002-05-15 fl Added error constants (from Andrew Kuchling)
45
45
# 2002-06-27 fl Merged with Python CVS version
46
46
# 2002-10-22 fl Added basic authentication (based on code from Phillip Eby)
47
+ # 2003-01-22 sm Add support for the bool type
48
+ # 2003-02-27 gvr Remove apply calls
49
+ # 2003-04-24 sm Use cStringIO if available
50
+ # 2003-04-25 ak Add support for nil
51
+ # 2003-06-15 gn Add support for time.struct_time
52
+ # 2003-07-12 gp Correct marshalling of Faults
47
53
#
48
54
# Copyright (c) 1999-2002 by Secret Labs AB.
49
55
# Copyright (c) 1999-2002 by Fredrik Lundh.
@@ -581,7 +587,9 @@ def dumps(self, values):
581
587
if isinstance (values , Fault ):
582
588
# fault instance
583
589
write ("<fault>\n " )
584
- dump (vars (values ), write )
590
+ dump ({'faultCode' : values .faultCode ,
591
+ 'faultString' : values .faultString },
592
+ write )
585
593
write ("</fault>\n " )
586
594
else :
587
595
# parameter block
You can’t perform that action at this time.
0 commit comments