(cls, zonedir=None)
| 6541 | |
| 6542 | @classmethod |
| 6543 | def zonenames(cls, zonedir=None): |
| 6544 | if zonedir is None: |
| 6545 | zonedir = cls.zoneroot |
| 6546 | zone_tab = os.path.join(zonedir, 'zone.tab') |
| 6547 | try: |
| 6548 | f = open(zone_tab) |
| 6549 | except OSError: |
| 6550 | return |
| 6551 | with f: |
| 6552 | for line in f: |
| 6553 | line = line.strip() |
| 6554 | if line and not line.startswith('#'): |
| 6555 | yield line.split()[2] |
| 6556 | |
| 6557 | @classmethod |
| 6558 | def stats(cls, start_year=1): |
no test coverage detected