(self)
| 54 | |
| 55 | @reconstructor |
| 56 | def init(self): |
| 57 | self.__attr = None |
| 58 | |
| 59 | if self.attrID: |
| 60 | self.__attr = eos.db.getAttributeInfo(self.attrID) |
| 61 | if self.__attr is None: |
| 62 | pyfalog.error("Attribute (id: {0}) does not exist", self.attrID) |
| 63 | return |
| 64 | |
| 65 | self.build() |
| 66 | self.value = self.value # run the validator (to ensure we catch any changed min/max values might CCP release) |
| 67 | |
| 68 | def build(self): |
| 69 | # try...except here to catch orphaned mutators. Pretty rare, only happens so far if hacking the database |
nothing calls this directly
no test coverage detected