From 0a20674bf5fcaa6483ce4db6c07826928bb42b36 Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Thu, 4 Nov 2021 15:06:52 +0100 Subject: [PATCH] Clean up --- sync.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sync.py b/sync.py index b78342e..e67b178 100755 --- a/sync.py +++ b/sync.py @@ -28,12 +28,6 @@ def update_keys(host, user, keys): except Exception: print('❌ ' + user + '@' + host) -def find_by_name(name, elements): - found = [element for element in elements if element['name'] == name] - if not found: - return False - return found[0] - def main(): config = read_config() for host in config['hosts']: