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