/usr/lib/ezmlm-browse/timezones.py is in ezmlm-browse 0.10-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import os
def _rlistdir(base, sub):
path = os.path.join(base, sub)
result = []
list = os.listdir(path)
for entry in os.listdir(path):
if entry == 'right': continue
if entry[-4:] == '.tab': continue
if entry[:5] == 'posix': continue
fullpath = os.path.join(path, entry)
subpath = os.path.join(sub, entry)
if os.path.isdir(fullpath):
result.extend(_rlistdir(base, subpath))
else:
result.append(subpath)
return result
zones = _rlistdir('/usr/share/zoneinfo', '')
zones.sort()
|