/usr/lib/python3/dist-packages/doit/compat.py is in python3-doit 0.30.3-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 | """stuff dealing with incompatibilities between python versions"""
def get_platform_system():
"""return platform.system
platform module has many regexp, so importing it is slow...
import only if required
"""
import platform
return platform.system()
|