file transfer
This commit is contained in:
5
verify_syntax.py
Normal file
5
verify_syntax.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import re, ast
|
||||
src = open('c:/Users/seekr/OneDrive/Desktop/work/RMM/RMM-BE/rmm-backend/deploy_agent.sh', encoding='utf-8').read()
|
||||
m = re.search(r"cat << 'EOF' > /opt/seekright-agent/client_agent_prototype.py\n(.*?)\nEOF", src, re.S)
|
||||
ast.parse(m.group(1))
|
||||
print("Embedded Python syntax is OK")
|
||||
Reference in New Issue
Block a user