def load_signatures(filename, cache=True):
 global SIGNATURE_CACHE
 f = open(filename, 'r')
 sigjson = f.read()
 f.close()
 sigdata = simplejson.loads(sigjson)
 if cache:
  SIGNATURE_CACHE = sigdata

def load_signatures ( filename , cache = True ) : global SIGNATURE_CACHE f = open ( filename , 'r' ) sigjson = f . read ( ) f . close ( ) sigdata = simplejson . loads ( sigjson ) if cache : SIGNATURE_CACHE = sigdata
loads the import signatures for distros .