There is type mismatch into detecting the code that destination is LTFS or not. The xattr module returns binary data (without NULL termination) so binary compare is required.
This change also includes a bug fix at single file copy. It tries to get a length of None type object.
Fix of issue #370
Fixes #370
Type of change
Bug fix (non-breaking change which fixes an issue)
Checklist:
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have confirmed my fix is effective or that my feature works
Summary of changes
There is type mismatch into detecting the code that destination is LTFS or not. The xattr module returns binary data (without NULL termination) so binary compare is required.
This change also includes a bug fix at single file copy. It tries to get a length of
None
type object.Fixes #370
Type of change
Checklist: