Skip to content

Commit 1245df0

Browse files
authored
Removing unused queue import, which is not supported in python2. concurrent.futures imported only for PY3 (#1230)
1 parent 77abadd commit 1245df0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scalyr_agent/builtin_monitors/syslog_monitor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525

2626
from __future__ import print_function
2727

28-
import concurrent.futures
29-
import queue
3028

3129
from scalyr_agent import compat
3230

@@ -58,6 +56,7 @@
5856
if six.PY2:
5957
from scalyr_agent.builtin_monitors.thread_pool_dummy import ExecutorMixIn
6058
else:
59+
import concurrent.futures
6160
from scalyr_agent.builtin_monitors.thread_pool import ExecutorMixIn
6261

6362
try:

0 commit comments

Comments
 (0)