summaryrefslogtreecommitdiffstats
path: root/module/common/packagetools.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:23:19 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-19 02:23:19 +0200
commit0aca8ebfb15237e60effce06ccff2085516117f6 (patch)
treee3f28471f4f682f333d5f1b0725ec6572b9cb1bc /module/common/packagetools.py
parentMove test stuff to common directory (diff)
downloadpyload-0aca8ebfb15237e60effce06ccff2085516117f6.tar.xz
Remove self-tests from all files
Diffstat (limited to 'module/common/packagetools.py')
-rw-r--r--module/common/packagetools.py17
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()])