1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 01:57:33 +00:00
bazarr/libs/flask_debugtoolbar/compat.py
Moravčík, Marian 443607a33d More work
2019-12-16 14:58:10 +01:00

9 lines
141 B
Python

import sys
PY2 = sys.version_info[0] == 2
if PY2:
iteritems = lambda d: d.iteritems()
else:
iteritems = lambda d: iter(d.items())