delete unnecessary util.py/unzip function.

This commit is contained in:
A. Murat Eren
2007-03-15 12:01:03 +00:00
parent 08d1849bb4
commit d52e55a50c
2 changed files with 0 additions and 7 deletions
-4
View File
@@ -31,10 +31,6 @@ extra space at all. We can keep the number of file in the index though.
That way we can calculate package size + (nr of files * inode size of fs)
to give a more correct required disk size.
* what the heck is unzip there? it is not even used at all and defined like:
def unzip(seq):
return zip(*seq)
* Why in a world like this there exists *parse_package* util functions? These must be all methods of package class
* Remove all unneeded util functions, most of them belongs its classes
-3
View File
@@ -57,9 +57,6 @@ def every(pred, seq):
def any(pred, seq):
return reduce(operator.or_, map(pred, seq), False)
def unzip(seq):
return zip(*seq)
def concat(l):
"""Concatenate a list of lists."""
return reduce( operator.concat, l )