Skip to content

Commit 1a6ecdb

Browse files
committed
Print output was pointed at wrong thing
Example code was printing out the info from the post response instead of the patch response
1 parent 8b2e94a commit 1a6ecdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

objsamples/sample_dataextension.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
de3.props = {"Name" : NameOfDE,"CustomerKey" : NameOfDE}
6060
de3.columns = [{"Name" : "AddedField", "FieldType" : "Text"}]
6161
patchResponse = de3.patch()
62-
print 'Patch Status: ' + str(postResponse.status)
63-
print 'Code: ' + str(postResponse.code)
64-
print 'Message: ' + str(postResponse.message)
65-
print 'Results: ' + str(postResponse.results)
62+
print 'Patch Status: ' + str(patchResponse.status)
63+
print 'Code: ' + str(patchResponse.code)
64+
print 'Message: ' + str(patchResponse.message)
65+
print 'Results: ' + str(patchResponse.results)
6666

6767

6868

0 commit comments

Comments
 (0)