(self, existing_file, link_file)
return True
Create relative symbolic links
Create relative symbolic links
Create relative symbolic links
def _symlink(self, existing_file, link_file):
        """Create relative symbolic links"""
        if os.path.exists(link_file):
            return False
        rel_path_to_existing = os.path.relpath(
            existing_file, os.path.dirname(link_file))
        try:
            os.symlink(rel_path_to_existing, link_file)
        except (IOError, OSError):
            return False
        return True
def _symlink ( self , existing_file , link_file ) : if os . path . exists ( link_file ) : return False rel_path_to_existing = os . path . relpath ( existing_file , os . path . dirname ( link_file ) ) try : os . symlink ( rel_path_to_existing , link_file ) except ( IOError , OSError ) : return False return True