(self)
| 345 | |
| 346 | """ |
| 347 | def lazy_init(self): |
| 348 | try: |
| 349 | f = open(self.filename) |
| 350 | except Exception: |
| 351 | warning("Can't open base %s", self.filename) |
| 352 | return |
| 353 | |
| 354 | self.base = {} |
| 355 | self.labels = [] |
| 356 | self._parse_file(f) |
| 357 | self.labels = tuple(self.labels) |
| 358 | f.close() |
| 359 | |
| 360 | def _parse_file(self, file): |
| 361 | """ |
nothing calls this directly
no test coverage detected