delete unnecessary util.py/unzip function.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user