(self, item)
| 26 | |
| 27 | class Citadel(Ship): |
| 28 | def validate(self, item): |
| 29 | if item.category.name != "Structure": |
| 30 | pyfalog.error("Passed item '{0}' (category: {1}) is not under Structure category", item.name, item.category.name) |
| 31 | raise ValueError( |
| 32 | 'Passed item "%s" (category: (%s)) is not under Structure category' % (item.name, item.category.name)) |
| 33 | |
| 34 | def __deepcopy__(self, memo): |
| 35 | copy = Citadel(self.item) |
nothing calls this directly
no outgoing calls
no test coverage detected