| Line 376... |
Line 376... |
| 376 |
awbs = []
|
376 |
awbs = []
|
| 377 |
for awbEle in root:
|
377 |
for awbEle in root:
|
| 378 |
|
378 |
|
| 379 |
awbNumber = __findElementByAttr(awbEle, 'name', 'awb_number').text.strip()
|
379 |
awbNumber = __findElementByAttr(awbEle, 'name', 'awb_number').text.strip()
|
| 380 |
reasonCode = __findElementByAttr(awbEle, 'name', 'reason_code_number').text.strip()
|
380 |
reasonCode = __findElementByAttr(awbEle, 'name', 'reason_code_number').text.strip()
|
| 381 |
deliveryDate = __findElementByAttr(awbEle, 'name', 'delivery_date').text.strip()
|
381 |
deliveryDate = __findElementByAttr(awbEle, 'name', 'delivery_date').text
|
| 382 |
lastUpdateDate = __findElementByAttr(awbEle, 'name', 'last_update_date').text.strip()
|
382 |
lastUpdateDate = __findElementByAttr(awbEle, 'name', 'last_update_date').text.strip()
|
| 383 |
xmlScans = __findElementByAttr(awbEle, 'name', 'scans')
|
383 |
xmlScans = __findElementByAttr(awbEle, 'name', 'scans')
|
| 384 |
awbStatuses[awbNumber] = {'awbNumber': awbNumber, 'reasonCode': reasonCode, 'deliveryDate':deliveryDate, 'lastUpdateDate':lastUpdateDate, 'xmlScans': xmlScans}
|
384 |
awbStatuses[awbNumber] = {'awbNumber': awbNumber, 'reasonCode': reasonCode, 'deliveryDate':deliveryDate, 'lastUpdateDate':lastUpdateDate, 'xmlScans': xmlScans}
|
| 385 |
|
385 |
|
| 386 |
doneAwbs += batchSize
|
386 |
doneAwbs += batchSize
|