diff --git a/RefactorPlan b/RefactorPlan index 014655fb..dea7005f 100644 --- a/RefactorPlan +++ b/RefactorPlan @@ -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 diff --git a/pisi/util.py b/pisi/util.py index e60dbb78..b191aafa 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -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 )