summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygnulib/vfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygnulib/vfs.py b/pygnulib/vfs.py
index 64f6ee7f57..d1477c1a77 100644
--- a/pygnulib/vfs.py
+++ b/pygnulib/vfs.py
@@ -281,7 +281,7 @@ def symlink(src_root, src_name, dst_root, dst_name, relative=True):
_os.symlink(src_path, dst_path)
-def unlink(root, name, backup=True):
+def unlink(root, name):
"""Unlink a file, backing it up if necessary."""
root = BaseVFS(".") if root is None else root
mkdir(root, _os.path.dirname(name))