summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Selyutin <ghostmansd@gmail.com>2018-06-29 01:44:29 +0300
committerDmitry Selyutin <ghostmansd@gmail.com>2018-06-29 01:44:29 +0300
commitc0e63bb2f22a5651ef10a28c265f87226811c14d (patch)
tree859b0283b2bdee6f9cb362b9adc34c9d21af279e
parentc8822295be5510d2fa2e133c7de3f45967f3747a (diff)
downloadgnulib-c0e63bb2f22a5651ef10a28c265f87226811c14d.tar.gz
vfs: deprecate unused "backup" parameter
-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))