◐ Shell
clean mode source ↗

Fix some issues found by lgtm.com by misery · Pull Request #64 · techtonik/python-patch

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Open

misery

wants to merge 1 commit into

Conversation

@misery

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

This was referenced

Sep 27, 2019

@techtonik

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.

2 participants

@misery @techtonik