mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-25 15:22:15 +03:00
12 lines
280 B
Python
12 lines
280 B
Python
|
#!/usr/bin/python3
|
||
|
# -*- coding: utf-8 -*-
|
||
|
# Author: İsmail BAŞARAN <ismail.basaran@tubitak.gov.tr> <basaran.ismaill@gmail.com>
|
||
|
|
||
|
from queue import Queue
|
||
|
|
||
|
|
||
|
class PluginQueue(Queue):
|
||
|
def __contains__(self, item):
|
||
|
with self.mutex:
|
||
|
return item in self.queue
|