From 7ca858c817142372b4296c2ad0c42efcc627a6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Wed, 8 Jun 2011 11:17:00 +0000 Subject: [PATCH] util: remove unused copy_dir() too --- pisi/util.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pisi/util.py b/pisi/util.py index 6e8ce828..82cbf6bf 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -442,10 +442,6 @@ def get_file_hashes(top, excludePrefix=None, removePrefix=None): if is_included(root): yield calculate_hash(root) -def copy_dir(src, dest): - """Copy source dir to destination dir recursively.""" - shutil.copytree(src, dest) - def check_file_hash(filename, hash): """Check the file's integrity with a given hash.""" return sha1_file(filename) == hash