Skip to content

Commit

Permalink
Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
slacrherbst committed Sep 26, 2024
1 parent e53a6cd commit 815ea4b
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions python/pyrogue/_Root.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,17 +484,12 @@ def updateGroup(self, period=0):

# At with call
try:
self._updateTrack[tid].increment(period)
except:
self._updateTrack[tid].increment(period)
except Exception:
with self._updateLock:
self._updateTrack[tid] = UpdateTracker(self._updateQueue)
self._updateTrack[tid].increment(period)

#if tid not in self._updateTrack:
# self._updateTrack[tid] = UpdateTracker(self._updateQueue)

#self._updateTrack[tid].increment(period)

try:
yield
finally:
Expand Down Expand Up @@ -1008,15 +1003,11 @@ def _queueUpdates(self,var):

try:
self._updateTrack[tid].update(var)
except:
except Exception:
with self._updateLock:
self._updateTrack[tid] = UpdateTracker(self._updateQueue)
self._updateTrack[tid].update(var)

#if tid not in self._updateTrack:
# self._updateTrack[tid] = UpdateTracker(self._updateQueue)
#self._updateTrack[tid].update(var)

# Perform update on each variable and recurse the listeners list
def _updateVarWithRecurse(self, v):

Expand Down

0 comments on commit 815ea4b

Please sign in to comment.