From 5d39b2649814eb3938651b7ce7567f75dd210410 Mon Sep 17 00:00:00 2001 From: Jimmy Christensen Date: Thu, 31 Oct 2024 16:49:20 +0100 Subject: [PATCH] [rqd] Fix `keys` not iterable since it's a built-in function. (#1564) **Link the Issue(s) this Pull Request is related to.** This fixes an bug introduced with #1554 **Summarize your change.** It fixes a small bug that hinders `rqd` to actually run any jobs. It probably didn't get chaught due to the unittests for rqd not working properly. --- rqd/rqd/rqcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rqd/rqd/rqcore.py b/rqd/rqd/rqcore.py index 22cc4eec8..6cd36a391 100644 --- a/rqd/rqd/rqcore.py +++ b/rqd/rqd/rqcore.py @@ -1091,7 +1091,7 @@ def sanitizeFrames(self): Iterate over the cache and update the status of frames that might have completed but never reported back to cuebot. """ - for frameId in list(self.__cache.keys): + for frameId in list(self.__cache.keys()): runningFrame = self.__cache[frameId] # If the frame was marked as completed (exitStatus) and a report has not been sent # try to file the report again