diff --git a/pisi/util.py b/pisi/util.py index a371d980..9a8bd75a 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -142,11 +142,6 @@ def copy_file(src,dest): """copy source file to destination file""" check_file(src) check_dir(os.path.dirname(dest)) -#don't reinvent the wheel -# fs = file(src, 'rb') -# fd = file(dest, 'wb') -# for l in fs: -# fd.write(l) shutil.copyfile(src, dest) def get_file_hashes(top, excludePrefixes=None, removePrefix=None):