Loading rucio_protocols/posix.py +4 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,10 @@ class Symlink(Default): # problem in creating the symlink self.logger(logging.ERROR, 'Symlink {} could not be created'.format(dest)) raise exception.DestinationNotAccessible() if not self.attributes.get['ignore_broken_link', False] and not os.path.exists(dest): ignore_broken_link = False if "extended_attributes" in self.attributes: ignore_broken_link = self.attributes["extended_attributes"].get("ignore_broken_link", False) if not ignore_broken_link and not os.path.exists(dest): # could not find the file following the symlink self.logger(logging.ERROR, 'Symlink {} appears to be a broken link to {}' .format(dest, path)) Loading Loading
rucio_protocols/posix.py +4 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,10 @@ class Symlink(Default): # problem in creating the symlink self.logger(logging.ERROR, 'Symlink {} could not be created'.format(dest)) raise exception.DestinationNotAccessible() if not self.attributes.get['ignore_broken_link', False] and not os.path.exists(dest): ignore_broken_link = False if "extended_attributes" in self.attributes: ignore_broken_link = self.attributes["extended_attributes"].get("ignore_broken_link", False) if not ignore_broken_link and not os.path.exists(dest): # could not find the file following the symlink self.logger(logging.ERROR, 'Symlink {} appears to be a broken link to {}' .format(dest, path)) Loading