diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-03-20 17:37:56 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-03-20 17:37:56 +0200 |
commit | 9b6935a7d5e92b0bf3463781b4d460d9d8445771 (patch) | |
tree | 63738268adc9fa8f47cf638c8664e8acb07ca680 | |
parent | 0061765555f182dc16ff0ddd2499a47024ee6be0 (diff) | |
download | py-gsxws-9b6935a7d5e92b0bf3463781b4d460d9d8445771.tar.gz py-gsxws-9b6935a7d5e92b0bf3463781b4d460d9d8445771.tar.bz2 py-gsxws-9b6935a7d5e92b0bf3463781b4d460d9d8445771.zip |
Raise GsxError in Returns.get_pending()
-rwxr-xr-x | gsxws.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -490,8 +490,8 @@ class Returns(GsxObject): dt = CLIENT.factory.create('ns1:partsPendingReturnRequestType') dt.repairData = self.data dt.userSession = SESSION - result = CLIENT.service.PartsPendingReturn(dt) - return result.partsPendingResponse + + return self.submit('PartsPendingReturn', dt, 'partsPendingResponse') class Part(GsxObject): def lookup(self): |