One more bug fix (#426)

* Fix bug, update ducumantation

* Clean up error messages

* Exit on error, fix bug

* One more bug fix
This commit is contained in:
Ross Scroggs
2017-02-07 09:33:25 -08:00
committed by Jay Lee
parent 610ba5bf6a
commit d34e09f8d5

View File

@ -7398,7 +7398,7 @@ def _getResoldSubscriptionAttr(arg, customerId):
body[u'purchaseOrderId'] = arg[i+1]
elif myarg in [u'seats']:
body[u'seats'][u'numberOfSeats'] = arg[i+1]
if len(arg) > i + 1 and arg[i+2].isdigit():
if len(arg) > i + 2 and arg[i+2].isdigit():
body[u'seats'][u'maximumNumberOfSeats'] = arg[i+2]
i += 1
elif myarg in [u'sku', u'skuid']: