mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 07:53:43 +01:00
Using exec in the assembler is okay
This commit is contained in:
parent
6a488b3db9
commit
9b315746d1
@ -21,7 +21,7 @@ while 1:
|
|||||||
setattr(sys.modules[parent], parent_name, module)
|
setattr(sys.modules[parent], parent_name, module)
|
||||||
|
|
||||||
code = compile(content, name, "exec")
|
code = compile(content, name, "exec")
|
||||||
exec(code, module.__dict__)
|
exec(code, module.__dict__) # nosec
|
||||||
sys.modules[name] = module
|
sys.modules[name] = module
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user