We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6f509e commit bef2697Copy full SHA for bef2697
update_plugins.py
@@ -1,11 +1,3 @@
1
-try:
2
- import concurrent.futures as futures
3
-except ImportError:
4
- try:
5
- import futures
6
- except ImportError:
7
- futures = None
8
-
9
import re
10
import shutil
11
import tempfile
@@ -106,10 +98,6 @@ def update(plugin):
106
98
temp_directory = tempfile.mkdtemp()
107
99
108
100
try:
109
- if futures:
110
- with futures.ThreadPoolExecutor(16) as executor:
111
- executor.map(update, PLUGINS.splitlines())
112
- else:
113
- [update(x) for x in PLUGINS.splitlines()]
101
+ [update(x) for x in PLUGINS.splitlines()]
114
102
finally:
115
103
shutil.rmtree(temp_directory)
0 commit comments