(self, filepath)
| 56 | class CategoriesTxt: |
| 57 | """For now, let's allow comments only at the beginning of the file.""" |
| 58 | def __init__(self, filepath): |
| 59 | self.translations = defaultdict(lambda: defaultdict(str)) |
| 60 | self.keys_in_order = [] |
| 61 | self.comments = [] |
| 62 | self.filepath = filepath |
| 63 | self.all_langs = set() |
| 64 | self.parse_file() |
| 65 | |
| 66 | |
| 67 | def parse_file(self): |
nothing calls this directly
no test coverage detected