clean up
This commit is contained in:
2
sync.py
2
sync.py
@@ -17,7 +17,7 @@ class task_thread(threading.Thread):
|
|||||||
def read_config():
|
def read_config():
|
||||||
with open('config.yaml', 'r') as stream:
|
with open('config.yaml', 'r') as stream:
|
||||||
return yaml.safe_load(stream)
|
return yaml.safe_load(stream)
|
||||||
|
|
||||||
def update_keys(host, port, user, keys):
|
def update_keys(host, port, user, keys):
|
||||||
try:
|
try:
|
||||||
client = paramiko.SSHClient()
|
client = paramiko.SSHClient()
|
||||||
|
|||||||
Reference in New Issue
Block a user