Skip to content

Commit

Permalink
Skip comparing the whole stat obj
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Mar 21, 2021
1 parent 3589148 commit 905b42a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions magicbus/plugins/opsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,4 @@ def join(self, timeout=None, poll_interval=0.1):
if pid_creation_time > initial_creation_time:
return # file has been replaced

if pid_stat != initial_stat:
return # file has been changed

time.sleep(poll_interval)

0 comments on commit 905b42a

Please sign in to comment.