We decided to run both versions for a while until 2019 is EOL and give people the possibility to run newest 3000 version. Approved by: maintainer
11 lines
495 B
Python
11 lines
495 B
Python
--- salt/loader.py
|
|
+++ salt/loader.py
|
|
@@ -1240,7 +1240,7 @@
|
|
try:
|
|
pycache_files = [
|
|
os.path.join('__pycache__', x) for x in
|
|
- sorted(os.listdir(os.path.join(mod_dir, '__pycache__')))
|
|
+ sorted(os.listdir(os.path.join(mod_dir, '__pycache__'))) if not x.endswith('opt-1.pyc') and not x.endswith('opt-2.pyc')
|
|
]
|
|
except OSError:
|
|
pass
|