mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-06 04:15:44 +08:00
Replace OrderedDict.move_to_end with Python2-compatible alternative
This commit is contained in:
parent
b4e8c38b68
commit
34cc51d95d
@ -46,4 +46,4 @@ def escape_chars(text, chars):
|
||||
|
||||
def sort_ordereddict(d):
|
||||
for key in sorted(d.keys()):
|
||||
d.move_to_end(key)
|
||||
d[key] = d.pop(key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user