/usr/lib/python3/dist-packages/git/odict.py is in python3-git 2.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 | try:
from collections import OrderedDict
except ImportError:
try:
from ordereddict import OrderedDict
except ImportError:
import warnings
warnings.warn("git-python needs the ordereddict module installed in python below 2.6 and below.")
warnings.warn("Using standard dictionary as substitute, and cause reordering when writing git config")
OrderedDict = dict
|