python-patch icon indicating copy to clipboard operation
python-patch copied to clipboard

Fix some issues found by lgtm.com

Open misery opened this issue 6 years ago • 1 comments

  • 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.

misery avatar Jul 31 '19 08:07 misery

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.

techtonik avatar Jan 01 '21 15:01 techtonik