python-patch
python-patch copied to clipboard
Fix some issues found by lgtm.com
- This import of module shutil is redundant, as it was previously imported on line 35.
- Testing for None should use the 'is' operator.
- The value assigned to local variable 'hno' is never used.
lgtm.com is right about shutil, but I've heard from Fedora users that shutil has some permission problems. I need to ask them for testing as well.