Skip to content

Commit ed717a5

Browse files
committed
Fix flake8 static analysis
1 parent 4e9c32f commit ed717a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dynamodb_encryption_sdk/material_providers/most_recent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def _get_provider_with_grace_period(self, version, ttl_action):
272272
:raises AttributeError: if provider could not locate version
273273
"""
274274
blocking_wait = bool(ttl_action is TtlActions.EXPIRED)
275-
acquired = self._lock.acquire(blocking_wait) # pylint: disable=consider-using-with
275+
acquired = self._lock.acquire(blocking_wait) # pylint: disable=consider-using-with
276276
if not acquired:
277277
# We failed to acquire the lock.
278278
# If blocking, we will never reach this point.
@@ -310,7 +310,7 @@ def _get_most_recent_version(self, ttl_action):
310310
:rtype: CryptographicMaterialsProvider
311311
"""
312312
blocking_wait = bool(ttl_action is TtlActions.EXPIRED)
313-
acquired = self._lock.acquire(blocking_wait) # pylint: disable=consider-using-with
313+
acquired = self._lock.acquire(blocking_wait) # pylint: disable=consider-using-with
314314

315315
if not acquired:
316316
# We failed to acquire the lock.

0 commit comments

Comments
 (0)