FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/git/odict.py at 2.1.5 · og-python-scripts/GitPython · GitHub
og-python-scripts
GitPython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GitPython
/
git
/
odict.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (10 loc) · 410 Bytes
Breadcrumbs
GitPython
/
git
/
odict.py
Copy path
File metadata and controls
10 lines (10 loc) · 410 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
Back
|
FazBrowse Home
|
New Git URL