From 9e1a5f190f81139dc45c6d1f27a0f1f3bd649754 Mon Sep 17 00:00:00 2001 From: Aleksander Kiryk Date: Mon, 17 Jan 2022 08:18:04 +0100 Subject: [PATCH] Delete dead code --- sargraph.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/sargraph.py b/sargraph.py index 508da9d..f6b5bf0 100755 --- a/sargraph.py +++ b/sargraph.py @@ -32,16 +32,6 @@ def kill_handler(a, b): die = 1 -def merge_dicts(x, y): - res = x.copy() - res.update(y) - return res - - -def rename_key(d, old, new): - d[new] = d.pop(old) - - # Check if a process is running def pid_running(pid): return os.path.exists("/proc/%d" % pid)