diff options
Diffstat (limited to 'gr-sbhs/python/que.py')
-rw-r--r-- | gr-sbhs/python/que.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-sbhs/python/que.py b/gr-sbhs/python/que.py index f5031a131..70db2838a 100644 --- a/gr-sbhs/python/que.py +++ b/gr-sbhs/python/que.py @@ -14,9 +14,11 @@ class Queue: self.queue.append(obj) else: print "Queue full" + ### To discard first in queue and append obj anyway ### #self.queue.pop(0) #self.queue.append(obj) + def pop(self): try: return (self.queue.pop(0)) |