/usr/lib/python2.7/dist-packages/pyotp/compat.py is in python-pyotp 2.2.1-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 | from __future__ import absolute_import, division, print_function, unicode_literals
import sys
USING_PYTHON2 = True if sys.version_info < (3, 0) else False
if USING_PYTHON2:
str = unicode # noqa
else:
str = str
|