Skip to content

Commit 33b44f4

Browse files
Update ddtrace/profiling/collector/_lock.py
Co-authored-by: T. Kowalski <[email protected]>
1 parent 1e1fb3d commit 33b44f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/profiling/collector/_lock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def _find_self_name(self, var_dict: Dict[str, Any]) -> Optional[str]:
214214
return attribute
215215
except AttributeError:
216216
# Accessing unset attributes in __slots__ raises AttributeError.
217-
continue
217+
pass
218218
return None
219219

220220
# Get lock acquire/release call location and variable name the lock is assigned to

0 commit comments

Comments
 (0)