summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-11-07 17:38:32 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-11-07 17:38:32 +0100
commitadcbdd44bb3be5de36dbfb0963b9c7a5c9cfb256 (patch)
tree0b081b821a425399340db255798e5ff1e2629083
parent0c567389a23d9f473943d9e20ca3e9d35e9d910a (diff)
hacks: Add required argument to shutil.rmtree() replacement
-rw-r--r--cerbero/hacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/hacks.py b/cerbero/hacks.py
index 792ca319..4100aebd 100644
--- a/cerbero/hacks.py
+++ b/cerbero/hacks.py
@@ -131,7 +131,7 @@ import shutil
from cerbero.utils.shell import call
-def rmtree(path):
+def rmtree(path, onerror=None):
call('rm -rf %s' % path)