/usr/lib/python3/dist-packages/PyTango/databaseds/db_access/__init__.py is in python3-pytango 8.1.8-1.
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 | __all__ = []
def _init_module() :
import os
for root,dirs,files in os.walk(__path__[0]) :
for file_name in files :
if file_name.startswith('__') : continue
base,ext = os.path.splitext(file_name)
if ext == '.py' :
subdir = root[len(__path__[0]) + 1:]
if subdir:
base = '%s.%s' % (subdir,base)
__all__.append(base)
_init_module()
|