summaryrefslogtreecommitdiff
path: root/bin/atoms_to_keylost
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-10-03 16:29:43 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-10-03 16:29:43 +0100
commit01e0750c93427cde2b2d19261fefa5d1373e9c37 (patch)
treeb7fb870ea7cf41fbf9174bac1d3f024656b7ccc0 /bin/atoms_to_keylost
parentdfec061a2da2a936da146db7f261a840faed73ac (diff)
drop any entropy shit in here
Diffstat (limited to 'bin/atoms_to_keylost')
-rwxr-xr-xbin/atoms_to_keylost17
1 files changed, 0 insertions, 17 deletions
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)
-