From 01e0750c93427cde2b2d19261fefa5d1373e9c37 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Oct 2015 16:29:43 +0100 Subject: drop any entropy shit in here --- bin/atoms_to_keylost | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 bin/atoms_to_keylost (limited to 'bin/atoms_to_keylost') diff --git a/bin/atoms_to_keylost b/bin/atoms_to_keylost deleted file mode 100755 index 60e8404..0000000 --- a/bin/atoms_to_keylost +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python -import sys -import entropy.dep - -atoms = sys.argv[1:] - -keyslot_cache = set() -for atom in atoms: - key = entropy.dep.dep_getkey(atom) - with open("/var/db/pkg/%s/SLOT" % (atom,)) as slot_f: - slot = slot_f.readline().strip() - keyslot = "%s:%s" % (key, slot) - if keyslot in keyslot_cache: - continue - print(keyslot) - keyslot_cache.add(keyslot) - -- cgit v1.2.3