mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #10426 from plastikos/issue-10425
Include msgpack in thin.tgz
This commit is contained in:
commit
7cc71ff1d5
@ -10,6 +10,7 @@ import tarfile
|
||||
# Import third party libs
|
||||
import jinja2
|
||||
import yaml
|
||||
import msgpack
|
||||
try:
|
||||
import markupsafe
|
||||
HAS_MARKUPSAFE = True
|
||||
@ -60,6 +61,7 @@ def gen_thin(cachedir, extra_mods='', overwrite=False):
|
||||
os.path.dirname(salt.__file__),
|
||||
os.path.dirname(jinja2.__file__),
|
||||
os.path.dirname(yaml.__file__),
|
||||
os.path.dirname(msgpack.__file__),
|
||||
]
|
||||
for mod in [m for m in extra_mods.split(',') if m]:
|
||||
if mod not in locals() and mod not in globals():
|
||||
|
Loading…
Reference in New Issue
Block a user