aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-09 14:12:46 +0300
committerFilipp Lepalaan <f@230.to>2013-06-09 14:12:46 +0300
commit6f8f3480a324e7384572ff49c0cb86e72f48b3d6 (patch)
treead7f2a83281bec2b34f6e3d70f4920ed7f216b0e /gsxws
parentf08f9ccf505aab421a6334715ce122bf450406a2 (diff)
downloadpy-gsxws-6f8f3480a324e7384572ff49c0cb86e72f48b3d6.tar.gz
py-gsxws-6f8f3480a324e7384572ff49c0cb86e72f48b3d6.tar.bz2
py-gsxws-6f8f3480a324e7384572ff49c0cb86e72f48b3d6.zip
Returns cleanup
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/returns.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gsxws/returns.py b/gsxws/returns.py
index f488ab9..96e61f5 100644
--- a/gsxws/returns.py
+++ b/gsxws/returns.py
@@ -82,7 +82,7 @@ class Return(GsxObject):
self.partNumber = part_number
self._submit("ReturnLabelRequest", "ReturnLabel", "returnLabelData")
- return self._req.objects[0]
+ return self._req.objects
def get_proforma(self):
"""
@@ -105,7 +105,7 @@ class Return(GsxObject):
"RegisterPartsForBulkReturn",
"bulkPartsRegistrationData")
- return self._req.objects[0]
+ return self._req.objects
def update_parts(self, confirmation, parts):
"""
@@ -122,7 +122,7 @@ class Return(GsxObject):
self.repairConfirmationNumber = confirmation
self.orderLines = parts
self._submit("repairData", "PartsReturnUpdate", "PartsReturnUpdateResponse")
- return self._req.objects[0]
+ return self._req.objects
if __name__ == '__main__':