Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
Removes the queue, but not returned.

src/l/a/lamson-1.3.4/examples/osb/app/handlers/index.py   lamson(Download)
        if msg['x-post-url'] == post_url:
            # this is the old one, take it out
            index_q.remove(key)
        else:
            posts.append(msg)
 
    # finally, zap all the old keys
    for old in old_keys: index_q.remove(old)
 
 

src/l/a/lamson-HEAD/examples/osb/app/handlers/index.py   lamson(Download)
        if msg['x-post-url'] == post_url:
            # this is the old one, take it out
            index_q.remove(key)
        else:
            posts.append(msg)
 
    # finally, zap all the old keys
    for old in old_keys: index_q.remove(old)
 
 

src/s/a/salmon-mail-1/examples/osb/app/handlers/index.py   salmon-mail(Download)
        if msg['x-post-url'] == post_url:
            # this is the old one, take it out
            index_q.remove(key)
        else:
            posts.append(msg)
 
    # finally, zap all the old keys
    for old in old_keys: index_q.remove(old)
 
 

src/l/a/lamson-1.3.4/lamson/commands.py   lamson(Download)
        print inq.get(get)
    elif remove:
        inq.remove(remove)
    elif count:
        print "Queue %s contains %d messages" % (name, inq.count())

src/l/a/lamson-HEAD/lamson/commands.py   lamson(Download)
        print inq.get(get)
    elif remove:
        inq.remove(remove)
    elif count:
        print "Queue %s contains %d messages" % (name, inq.count())

src/s/h/shiva-HEAD/receiver/core/server.py   shiva(Download)
                    logging.debug("Removed %r key from queue.", key)
 
	        inq.remove(key)
 
            if one_shot: