summaryrefslogtreecommitdiff
path: root/gr-sbhs/python/que.py
diff options
context:
space:
mode:
authormanojgudi2013-12-27 09:57:34 +0530
committermanojgudi2013-12-27 09:57:34 +0530
commit212d3b72f68fd2323051ce0c627c98e23c99f731 (patch)
tree2072fe40b9a484f388cbd3f38779d2e6a33caae3 /gr-sbhs/python/que.py
parentc15e3c60add01c2af7ebab049e97e245e53792a8 (diff)
downloadgnuradio-212d3b72f68fd2323051ce0c627c98e23c99f731.tar.gz
gnuradio-212d3b72f68fd2323051ce0c627c98e23c99f731.tar.bz2
gnuradio-212d3b72f68fd2323051ce0c627c98e23c99f731.zip
Incomplete clean up | gr-sbhs
Diffstat (limited to 'gr-sbhs/python/que.py')
-rw-r--r--gr-sbhs/python/que.py2
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))