Subversion Repositories SmartDukaan

Rev

Rev 23257 | Rev 23259 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23257 Rev 23258
Line 396... Line 396...
396
        self.statusCode = statusCode
396
        self.statusCode = statusCode
397
        self.statusDescription = statusDescription
397
        self.statusDescription = statusDescription
398
        self.statusDate = statusDate
398
        self.statusDate = statusDate
399
 
399
 
400
def __get_scan_by_code(xmlScans, codes):
400
def __get_scan_by_code(xmlScans, codes):
-
 
401
    print "xmlScansText", xmlScans.text
401
    awbStatusObj = None
402
    awbStatusObj = None
402
    for xmlScan in xmlScans:
403
    for xmlScan in xmlScans:
403
        print "xmlScanText", xmlScan.text
404
        print "xmlScanText", xmlScan.text
404
        reasonCodeNumber = __findElementByAttr(xmlScan, 'name', 'reason_code_number').text
405
        reasonCodeNumber = __findElementByAttr(xmlScan, 'name', 'reason_code_number').text
405
        if reasonCodeNumber in codes:
406
        if reasonCodeNumber in codes: