Skip to content

Commit

Permalink
[rqd] Fix keys not iterable since it's a built-in function. (Academ…
Browse files Browse the repository at this point in the history
…ySoftwareFoundation#1564)

**Link the Issue(s) this Pull Request is related to.**
This fixes an bug introduced with AcademySoftwareFoundation#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.
  • Loading branch information
lithorus authored Oct 31, 2024
1 parent a92fca4 commit 5d39b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rqd/rqd/rqcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d39b26

Please sign in to comment.