diff options
author | manojgudi | 2013-12-27 09:57:34 +0530 |
---|---|---|
committer | manojgudi | 2013-12-27 09:57:34 +0530 |
commit | 212d3b72f68fd2323051ce0c627c98e23c99f731 (patch) | |
tree | 2072fe40b9a484f388cbd3f38779d2e6a33caae3 /gr-sbhs/python/que.py | |
parent | c15e3c60add01c2af7ebab049e97e245e53792a8 (diff) | |
download | gnuradio-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.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)) |