Title: Fix some issues found by lgtm.com by misery · Pull Request #64 · techtonik/python-patch · GitHub
Open Graph Title: Fix some issues found by lgtm.com by misery · Pull Request #64 · techtonik/python-patch
X Title: Fix some issues found by lgtm.com by misery · Pull Request #64 · techtonik/python-patch
Description: 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.
Open Graph Description: 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 nev...
X Description: 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...
Opengraph URL: https://github.com/techtonik/python-patch/pull/64
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f35e70b0-3424-ceff-c1bc-517a9af15f5a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B950:96FA2:1186583:182CE96:6969FBB3 |
| html-safe-nonce | 2d604a1574fa3a59f851c51d9aad66a45aabdac009831a9465bc7633faa3679b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTUwOjk2RkEyOjExODY1ODM6MTgyQ0U5Njo2OTY5RkJCMyIsInZpc2l0b3JfaWQiOiI1MzE4Mzc3ODYwMzE1NjEwMDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 29d6cb63c978848f0afad5b8e4de8fbc5252b6f5ff0e8c78f21e42cb0dad633c |
| hovercard-subject-tag | pull_request:302840602 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/techtonik/python-patch/64/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ef32c14168c27e67016148456a26eb32e3eb6d906c243db225d8e401ac460f07/techtonik/python-patch/pull/64 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef32c14168c27e67016148456a26eb32e3eb6d906c243db225d8e401ac460f07/techtonik/python-patch/pull/64 |
| og:image:alt | 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 nev... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | misery |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/techtonik/python-patch git https://github.com/techtonik/python-patch.git |
| octolytics-dimension-user_id | 515889 |
| octolytics-dimension-user_login | techtonik |
| octolytics-dimension-repository_id | 34159484 |
| octolytics-dimension-repository_nwo | techtonik/python-patch |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34159484 |
| octolytics-dimension-repository_network_root_nwo | techtonik/python-patch |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width