From f60fe7937937e4e02b4f1b26a96cadcbd5406ab7 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Thu, 26 Mar 2020 14:30:31 +0100 Subject: [PATCH] remove unneeded condition --- koji/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koji/daemon.py b/koji/daemon.py index e031c351..316e0948 100644 --- a/koji/daemon.py +++ b/koji/daemon.py @@ -742,7 +742,7 @@ class TaskManager(object): os.unlink(data['cfg']) except OSError as e: self.logger.warn("%s: can't remove config: %s" % (desc, e)) - elif age > 120 or not self.checkSpace(): + elif age > 120: if rootdir: try: flist = os.listdir(rootdir)