@@ -1727,7 +1727,7 @@ def convert_name(name, upper=False):
17271727
17281728
17291729def adjust_permissions (provided_path , permission_bits , add = True , onlyfiles = False , onlydirs = False , recursive = True ,
1730- group_id = None , relative = True , ignore_errors = False , skip_symlinks = None ):
1730+ group_id = None , relative = True , ignore_errors = False ):
17311731 """
17321732 Change permissions for specified path, using specified permission bits
17331733
@@ -1744,11 +1744,6 @@ def adjust_permissions(provided_path, permission_bits, add=True, onlyfiles=False
17441744 and directories (if onlyfiles is False) in path
17451745 """
17461746
1747- if skip_symlinks is not None :
1748- depr_msg = "Use of 'skip_symlinks' argument for 'adjust_permissions' is deprecated "
1749- depr_msg += "(symlinks are never followed anymore)"
1750- _log .deprecated (depr_msg , '4.0' )
1751-
17521747 provided_path = os .path .abspath (provided_path )
17531748
17541749 if recursive :
@@ -2078,13 +2073,6 @@ def path_matches(path, paths):
20782073 return False
20792074
20802075
2081- def rmtree2 (path , n = 3 ):
2082- """Wrapper around shutil.rmtree to make it more robust when used on NFS mounted file systems."""
2083-
2084- _log .deprecated ("Use 'remove_dir' rather than 'rmtree2'" , '5.0' )
2085- remove_dir (path )
2086-
2087-
20882076def find_backup_name_candidate (src_file ):
20892077 """Returns a non-existing file to be used as destination for backup files"""
20902078
@@ -2191,11 +2179,6 @@ def cleanup(logfile, tempdir, testing, silent=False):
21912179 print_msg (msg , log = None , silent = testing or silent )
21922180
21932181
2194- def copytree (src , dst , symlinks = False , ignore = None ):
2195- """DEPRECATED and removed. Use copy_dir"""
2196- _log .deprecated ("Use 'copy_dir' rather than 'copytree'" , '4.0' )
2197-
2198-
21992182def encode_string (name ):
22002183 """
22012184 This encoding function handles funky software names ad infinitum, like:
0 commit comments