(text)
| 1026 | |
| 1027 | |
| 1028 | def isValidCargoImport(text): |
| 1029 | pattern = r'x\d+$' |
| 1030 | for line in lineIter(text): |
| 1031 | if not re.search(pattern, line): |
| 1032 | return False, () |
| 1033 | itemData = parseAdditions(text) |
| 1034 | if not itemData: |
| 1035 | return False, () |
| 1036 | for item, amount, mutation in itemData: |
| 1037 | if item.isAbyssal: |
| 1038 | return False, () |
| 1039 | return True, itemData |
| 1040 | |
| 1041 | |
| 1042 | def isValidImplantImport(text): |
no test coverage detected