(self, loc_code)
return case_location_tuple
return the supply point case referenced by loc_code
return the supply point case referenced by loc_code
return the supply point case referenced by loc_code
def get_supply_point_and_location(self, loc_code):
        """return the supply point case referenced by loc_code"""
        case_location_tuple = get_supply_point_and_location(self.domain.name, loc_code)
        if not case_location_tuple:
            raise SMSError('invalid location code "%s"' % loc_code)
        return case_location_tuple
def get_supply_point_and_location ( self , loc_code ) : case_location_tuple = get_supply_point_and_location ( self . domain . name , loc_code ) if not case_location_tuple : raise SMSError ( 'invalid location code "%s"' % loc_code ) return case_location_tuple