(self)
| 376 | Australia |
| 377 | ''' |
| 378 | def _fill(self): |
| 379 | data = {} |
| 380 | zone_tab = open_resource('iso3166.tab') |
| 381 | try: |
| 382 | for line in zone_tab.readlines(): |
| 383 | line = line.decode('UTF-8') |
| 384 | if line.startswith('#'): |
| 385 | continue |
| 386 | code, name = line.split(None, 1) |
| 387 | data[code] = name.strip() |
| 388 | self.data = data |
| 389 | finally: |
| 390 | zone_tab.close() |
| 391 | |
| 392 | |
| 393 | country_names = _CountryNameDict() |
no test coverage detected