Mercurial > gnulib
changeset 39658:9f182e96e361
vfs: deprecate unused "backup" parameter
author | Dmitry Selyutin <ghostmansd@gmail.com> |
---|---|
date | Fri, 29 Jun 2018 01:44:29 +0300 |
parents | 30e4dfbb2ac6 |
children | ed6ea7951713 |
files | pygnulib/vfs.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pygnulib/vfs.py Fri Jun 29 00:25:05 2018 +0300 +++ b/pygnulib/vfs.py Fri Jun 29 01:44:29 2018 +0300 @@ -281,7 +281,7 @@ _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))