Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Nov 1, 2024
1 parent 63c7cfc commit a3b8ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glances/processes.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def update(self):

# Remove non running process from the cache (avoid issue #2976)
pids_running = [p['pid'] for p in processlist]
pids_cached = self.processlist_cache.keys()
pids_cached = list(self.processlist_cache.keys()).copy()
for pid in pids_cached:
if pid not in pids_running:
self.processlist_cache.pop(pid, None)
Expand Down

0 comments on commit a3b8ca8

Please sign in to comment.