We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64d3d81 commit acf7cc5Copy full SHA for acf7cc5
2 files changed
splunklib/searchcommands/search_command.py
@@ -20,10 +20,8 @@
20
21
from splunklib.client import Service
22
23
-try:
24
- __named_tuple_check = namedtuple
25
-except NameError:
26
- from collections import namedtuple
+
+from collections import namedtuple
27
try:
28
from collections import OrderedDict # must be python 2.7
29
except ImportError:
tests/searchcommands/test_internals_v2.py
@@ -23,11 +23,7 @@
from splunklib.ordereddict import OrderedDict
- # for Python 2.6
30
+from collections import namedtuple, deque
31
from cStringIO import StringIO
32
from functools import wraps
33
from glob import iglob
0 commit comments