/usr/lib/python3/dist-packages/mapbox_vector_tile/compat.py is in python3-mapbox-vector-tile 0.5.0+ds-5.
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 | import sys
from builtins import map
PY3 = sys.version_info[0] == 3
if PY3:
from .Mapbox import vector_tile_p3_pb2
vector_tile = vector_tile_p3_pb2
else:
from .Mapbox import vector_tile_pb2
vector_tile = vector_tile_pb2
def apply_map(fn, x):
return list(map(fn, x))
|