File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 2020
2121from splunklib .client import Service
2222
23- try :
24- __named_tuple_check = namedtuple
25- except NameError :
26- from collections import namedtuple
23+
24+ from collections import namedtuple
2725try :
2826 from collections import OrderedDict # must be python 2.7
2927except ImportError :
Original file line number Diff line number Diff line change 2323 from collections import OrderedDict # must be python 2.7
2424except ImportError :
2525 from splunklib .ordereddict import OrderedDict
26- try :
27- __named_tuple_check = namedtuple
28- except NameError :
29- # for Python 2.6
30- from collections import namedtuple
26+ from collections import namedtuple , deque
3127from cStringIO import StringIO
3228from functools import wraps
3329from glob import iglob
You can’t perform that action at this time.
0 commit comments