Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env python
import os,subprocess
import pika,couchdbkit,json
import yaml,adapter,traceback
def callback(ch, method, properties, body):
ref = json.loads(body)
print 'compressed '+body
ch.basic_ack(delivery_tag = method.delivery_tag)
if __name__ == "__main__":
cq = adapter.couch_queue()
cq.run_queue('compressed',callback)
281ceb3efThis file is pinned to the selected release. Download the original to open it in your design tool.