Skip to content
Snippets Groups Projects
Commit 74544671 authored by Pavel Kácha's avatar Pavel Kácha
Browse files

OrderedDict fallback for older pythons

parent 3842b361
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,10 @@ import uuid ...@@ -13,7 +13,10 @@ import uuid
import json import json
import os.path as pth import os.path as pth
from collections import namedtuple from collections import namedtuple
try:
from collections import OrderedDict from collections import OrderedDict
except ImportError:
from ordereddict import OrderedDict
class FileWatcher(object): class FileWatcher(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment