Permalink
Browse files

bad indention here.

  • Loading branch information...
1 parent bdfb5bf commit 34bc8ae9a83f3dff4fd28cad2ab91f702b9c00ea @xealot xealot committed May 12, 2011
Showing with 8 additions and 8 deletions.
  1. +8 −8 src/soaplib/core/_base.py
View
16 src/soaplib/core/_base.py
@@ -535,14 +535,14 @@ def serialize_soap(self, ctx, wrapper, out_object):
out_type_info = result_message_class._type_info
if len(out_type_info) > 0:
- if len(out_type_info) == 1:
- attr_name = result_message_class._type_info.keys()[0]
- setattr(result_message, attr_name, out_object)
-
- else:
- for i in range(len(out_type_info)):
- attr_name=result_message_class._type_info.keys()[i]
- setattr(result_message, attr_name, out_object[i])
+ if len(out_type_info) == 1:
+ attr_name = result_message_class._type_info.keys()[0]
+ setattr(result_message, attr_name, out_object)
+
+ else:
+ for i in range(len(out_type_info)):
+ attr_name=result_message_class._type_info.keys()[i]
+ setattr(result_message, attr_name, out_object[i])
# transform the results into an element
result_message_class.to_parent_element(

0 comments on commit 34bc8ae

Please sign in to comment.