(self)
| 73 | raise BMObjectUnwantedStreamError() |
| 74 | |
| 75 | def checkAlreadyHave(self): |
| 76 | # if it's a stem duplicate, pretend we don't have it |
| 77 | if Dandelion().hasHash(self.inventoryHash): |
| 78 | return |
| 79 | if self.inventoryHash in Inventory(): |
| 80 | raise BMObjectAlreadyHaveError() |
| 81 | |
| 82 | def checkObjectByType(self): |
| 83 | if self.objectType == protocol.OBJECT_GETPUBKEY: |
no test coverage detected