From: Dmitry Selyutin Date: Thu, 28 Jun 2018 22:44:29 +0000 (+0300) Subject: vfs: deprecate unused "backup" parameter X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0e63bb2f22a5651ef10a28c265f87226811c14d;p=thirdparty%2Fgnulib.git vfs: deprecate unused "backup" parameter --- 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))