util: remove unused copy_dir() too

This commit is contained in:
Ozan Çağlayan
2011-06-08 11:17:00 +00:00
parent 20bc8b5c91
commit 7ca858c817
-4
View File
@@ -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