From d37e6cce6667e84fa4818cee16cd9d983461071b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Sat, 2 Jul 2005 01:13:45 +0000 Subject: [PATCH] implement copy_dir with a one-liner. --- pisi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/util.py b/pisi/util.py index bf6a1d62..bbb1ca4f 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -192,7 +192,7 @@ def get_file_hashes(top, excludePrefixes=None, removePrefix=None): def copy_dir(src, dest): """copy source dir to destination dir recursively""" - raise UtilError("not implemented") + shutil.copytree(src, dest) def sha1_file(filename): """calculate sha1 hash of filename"""