Skip to content
Snippets Groups Projects
Commit cae24377 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

v2.17.16

parent e95a9486
No related branches found
No related tags found
No related merge requests found
...@@ -248,7 +248,7 @@ class MonitorSet(set, Monitor): ...@@ -248,7 +248,7 @@ class MonitorSet(set, Monitor):
:param item: item to insert :param item: item to insert
:return: whether the item was successfully inserted :return: whether the item was successfully inserted
""" """
with Monitor.synchronize_on(self): with self:
if item in self: if item in self:
return False return False
self.add(item) self.add(item)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment