[sos-devel] [PATCH] plugins/__init__.py: Skip copying of broken symlink

Bryn M. Reeves bmr at redhat.com
Thu May 28 12:33:59 UTC 2015


On Wed, May 27, 2015 at 01:12:33PM +0530, Kamalesh Babulal wrote:
> +        # skip the symlink pointing to itself
> +        if (absdest != srcpath):
> +            self._do_copy_path(absdest)
> +
> +            self.copied_files.append({'srcpath': srcpath,
> +                                      'dstpath': srcpath,
> +                                      'symlink': "yes",
> +                                      'pointsto': linkdest})

This still needs to happen; the link has been created (recursively) so
it needs to be recorded in copied_files since this forms the basis for
the HTML/text report data.

Regards,
Bryn.




More information about the sos-devel mailing list