diff options
Diffstat (limited to 'module/common/packagetools.py')
-rw-r--r-- | module/common/packagetools.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/module/common/packagetools.py b/module/common/packagetools.py index 6fd2d4a38..d5ab4d182 100644 --- a/module/common/packagetools.py +++ b/module/common/packagetools.py @@ -134,20 +134,3 @@ def parseNames(files): packs[name] = [url] return packs - - -if __name__ == "__main__": - from os.path import join - from pprint import pprint - - f = open(join("..", "..", "testlinks2.txt"), "rb") - urls = [(x.strip(), x.strip()) for x in f.readlines() if x.strip()] - f.close() - - print "Having %d urls." % len(urls) - - packs = parseNames(urls) - - pprint(packs) - - print "Got %d urls." % sum([len(x) for x in packs.itervalues()]) |