import os, os.path, random, sys, time
from optparse import OptionParser
import logging
import os, os.path, random, sys, time
from optparse import OptionParser
import logging
def store_cache(self, filename):
try:
fd = open(filename, 'wb')
def store_cache(self, filename):
try:
fd = open(filename, 'wb')
logging.debug("Cache successfully stored")
except Exception, e:
logging.warning("Storing cache", exc_info=1)
logging.debug("Cache successfully stored")
except Exception, e:
logging.warning("Storing cache", exc_info=1)