]> Savannah Git Hosting - gnulib.git/commitdiff
vfs: deprecate unused "backup" parameter
authorDmitry Selyutin <ghostmansd@gmail.com>
Thu, 28 Jun 2018 22:44:29 +0000 (01:44 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Thu, 28 Jun 2018 22:44:29 +0000 (01:44 +0300)
pygnulib/vfs.py

index 64f6ee7f576e46a285e8d193d73d6395ec7b33db..d1477c1a7744f0c3d2727e0398c6a7494ec31a49 100644 (file)
@@ -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))