{"action":"created","comment":{"url":"https://api.github.com/repos/pymedusa/Medusa/pulls/comments/109305303","pull_request_review_id":30400885,"id":109305303,"diff_hunk":"@@ -163,10 +152,10 @@ def snatch_episode(result):\n                 client = torrent.get_client_class(app.TORRENT_METHOD)()\n                 result_downloaded = client.send_torrent(result)\n             else:\n-                logger.log(u\"Torrent file content is empty\", logger.WARNING)\n+                log.warning(u'Torrent file content is empty')\n                 result_downloaded = False\n     else:\n-        logger.log(u\"Unknown result type, unable to download it (%r)\" % result.resultType, logger.ERROR)\n+        log.error(u'Unknown result type, unable to download it: {!r}', result.resultType)","path":"medusa/search/core.py","position":149,"original_position":149,"commit_id":"fc7cadb25127bcf94265717022a68feebb35de7a","original_commit_id":"fc7cadb25127bcf94265717022a68feebb35de7a","user":{"login":"labrys","id":1867464,"avatar_url":"https://avatars1.githubusercontent.com/u/1867464?v=3","gravatar_id":"","url":"https://api.github.com/users/labrys","html_url":"https://github.com/labrys","followers_url":"https://api.github.com/users/labrys/followers","following_url":"https://api.github.com/users/labrys/following{/other_user}","gists_url":"https://api.github.com/users/labrys/gists{/gist_id}","starred_url":"https://api.github.com/users/labrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labrys/subscriptions","organizations_url":"https://api.github.com/users/labrys/orgs","repos_url":"https://api.github.com/users/labrys/repos","events_url":"https://api.github.com/users/labrys/events{/privacy}","received_events_url":"https://api.github.com/users/labrys/received_events","type":"User","site_admin":false},"body":"The index is optional, but our policy is to include it, nice catch.","created_at":"2017-04-02T10:18:23Z","updated_at":"2017-04-02T10:18:23Z","html_url":"https://github.com/pymedusa/Medusa/pull/2511#discussion_r109305303","pull_request_url":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511","_links":{"self":{"href":"https://api.github.com/repos/pymedusa/Medusa/pulls/comments/109305303"},"html":{"href":"https://github.com/pymedusa/Medusa/pull/2511#discussion_r109305303"},"pull_request":{"href":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511"}}},"pull_request":{"url":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511","id":113757020,"html_url":"https://github.com/pymedusa/Medusa/pull/2511","diff_url":"https://github.com/pymedusa/Medusa/pull/2511.diff","patch_url":"https://github.com/pymedusa/Medusa/pull/2511.patch","issue_url":"https://api.github.com/repos/pymedusa/Medusa/issues/2511","number":2511,"state":"open","locked":false,"title":"Standardize logging","user":{"login":"labrys","id":1867464,"avatar_url":"https://avatars1.githubusercontent.com/u/1867464?v=3","gravatar_id":"","url":"https://api.github.com/users/labrys","html_url":"https://github.com/labrys","followers_url":"https://api.github.com/users/labrys/followers","following_url":"https://api.github.com/users/labrys/following{/other_user}","gists_url":"https://api.github.com/users/labrys/gists{/gist_id}","starred_url":"https://api.github.com/users/labrys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labrys/subscriptions","organizations_url":"https://api.github.com/users/labrys/orgs","repos_url":"https://api.github.com/users/labrys/repos","events_url":"https://api.github.com/users/labrys/events{/privacy}","received_events_url":"https://api.github.com/users/labrys/received_events","type":"User","site_admin":false},"body":"- [ ] PR is based on the DEVELOP branch\r\n- [ ] Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review\r\n- [ ] Read the [contribution guide](https://github.com/pymedusa/Medusa/blob/master/.github/CONTRIBUTING.md)\r\n","created_at":"2017-04-01T01:31:30Z","updated_at":"2017-04-02T10:18:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fedff87b0917d43585205ebacfe0d77153b1c97d","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pymedusa/Medusa/milestones/22","html_url":"https://github.com/pymedusa/Medusa/milestone/22","labels_url":"https://api.github.com/repos/pymedusa/Medusa/milestones/22/labels","id":2332162,"number":22,"title":"0.1.12","description":"","creator":{"login":"p0psicles","id":1331394,"avatar_url":"https://avatars1.githubusercontent.com/u/1331394?v=3","gravatar_id":"","url":"https://api.github.com/users/p0psicles","html_url":"https://github.com/p0psicles","followers_url":"https://api.github.com/users/p0psicles/followers","following_url":"https://api.github.com/users/p0psicles/following{/other_user}","gists_url":"https://api.github.com/users/p0psicles/gists{/gist_id}","starred_url":"https://api.github.com/users/p0psicles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0psicles/subscriptions","organizations_url":"https://api.github.com/users/p0psicles/orgs","repos_url":"https://api.github.com/users/p0psicles/repos","events_url":"https://api.github.com/users/p0psicles/events{/privacy}","received_events_url":"https://api.github.com/users/p0psicles/received_events","type":"User","site_admin":false},"open_issues":46,"closed_issues":205,"state":"open","created_at":"2017-02-18T19:44:03Z","updated_at":"2017-04-01T23:04:15Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511/commits","review_comments_url":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511/comments","review_comment_url":"https://api.github.com/repos/pymedusa/Medusa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pymedusa/Medusa/issues/2511/comments","statuses_url":"https://api.github.com/repos/pymedusa/Medusa/statuses/fc7cadb25127bcf94265717022a68feebb35de7a","head":{"label":"pymedusa:log/search-core","ref":"log/search-core","sha":"fc7cadb25127bcf94265717022a68feebb35de7a","user":{"login":"pymedusa","id":16712498,"avatar_url":"https://avatars2.githubusercontent.com/u/16712498?v=3","gravatar_id":"","url":"https://api.github.com/users/pymedusa","html_url":"https://github.com/pymedusa","followers_url":"https://api.github.com/users/pymedusa/followers","following_url":"https://api.github.com/users/pymedusa/following{/other_user}","gists_url":"https://api.github.com/users/pymedusa/gists{/gist_id}","starred_url":"https://api.github.com/users/pymedusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pymedusa/subscriptions","organizations_url":"https://api.github.com/users/pymedusa/orgs","repos_url":"https://api.github.com/users/pymedusa/repos","events_url":"https://api.github.com/users/pymedusa/events{/privacy}","received_events_url":"https://api.github.com/users/pymedusa/received_events","type":"Organization","site_admin":false},"repo":{"id":52334681,"name":"Medusa","full_name":"pymedusa/Medusa","owner":{"login":"pymedusa","id":16712498,"avatar_url":"https://avatars2.githubusercontent.com/u/16712498?v=3","gravatar_id":"","url":"https://api.github.com/users/pymedusa","html_url":"https://github.com/pymedusa","followers_url":"https://api.github.com/users/pymedusa/followers","following_url":"https://api.github.com/users/pymedusa/following{/other_user}","gists_url":"https://api.github.com/users/pymedusa/gists{/gist_id}","starred_url":"https://api.github.com/users/pymedusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pymedusa/subscriptions","organizations_url":"https://api.github.com/users/pymedusa/orgs","repos_url":"https://api.github.com/users/pymedusa/repos","events_url":"https://api.github.com/users/pymedusa/events{/privacy}","received_events_url":"https://api.github.com/users/pymedusa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pymedusa/Medusa","description":"Now with the most wanted feature: **Manual Search**. You can choose what to download! IRC: #pymedusa","fork":false,"url":"https://api.github.com/repos/pymedusa/Medusa","forks_url":"https://api.github.com/repos/pymedusa/Medusa/forks","keys_url":"https://api.github.com/repos/pymedusa/Medusa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pymedusa/Medusa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pymedusa/Medusa/teams","hooks_url":"https://api.github.com/repos/pymedusa/Medusa/hooks","issue_events_url":"https://api.github.com/repos/pymedusa/Medusa/issues/events{/number}","events_url":"https://api.github.com/repos/pymedusa/Medusa/events","assignees_url":"https://api.github.com/repos/pymedusa/Medusa/assignees{/user}","branches_url":"https://api.github.com/repos/pymedusa/Medusa/branches{/branch}","tags_url":"https://api.github.com/repos/pymedusa/Medusa/tags","blobs_url":"https://api.github.com/repos/pymedusa/Medusa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pymedusa/Medusa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pymedusa/Medusa/git/refs{/sha}","trees_url":"https://api.github.com/repos/pymedusa/Medusa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pymedusa/Medusa/statuses/{sha}","languages_url":"https://api.github.com/repos/pymedusa/Medusa/languages","stargazers_url":"https://api.github.com/repos/pymedusa/Medusa/stargazers","contributors_url":"https://api.github.com/repos/pymedusa/Medusa/contributors","subscribers_url":"https://api.github.com/repos/pymedusa/Medusa/subscribers","subscription_url":"https://api.github.com/repos/pymedusa/Medusa/subscription","commits_url":"https://api.github.com/repos/pymedusa/Medusa/commits{/sha}","git_commits_url":"https://api.github.com/repos/pymedusa/Medusa/git/commits{/sha}","comments_url":"https://api.github.com/repos/pymedusa/Medusa/comments{/number}","issue_comment_url":"https://api.github.com/repos/pymedusa/Medusa/issues/comments{/number}","contents_url":"https://api.github.com/repos/pymedusa/Medusa/contents/{+path}","compare_url":"https://api.github.com/repos/pymedusa/Medusa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pymedusa/Medusa/merges","archive_url":"https://api.github.com/repos/pymedusa/Medusa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pymedusa/Medusa/downloads","issues_url":"https://api.github.com/repos/pymedusa/Medusa/issues{/number}","pulls_url":"https://api.github.com/repos/pymedusa/Medusa/pulls{/number}","milestones_url":"https://api.github.com/repos/pymedusa/Medusa/milestones{/number}","notifications_url":"https://api.github.com/repos/pymedusa/Medusa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pymedusa/Medusa/labels{/name}","releases_url":"https://api.github.com/repos/pymedusa/Medusa/releases{/id}","deployments_url":"https://api.github.com/repos/pymedusa/Medusa/deployments","created_at":"2016-02-23T06:02:11Z","updated_at":"2017-04-01T21:53:54Z","pushed_at":"2017-04-02T06:21:40Z","git_url":"git://github.com/pymedusa/Medusa.git","ssh_url":"git@github.com:pymedusa/Medusa.git","clone_url":"https://github.com/pymedusa/Medusa.git","svn_url":"https://github.com/pymedusa/Medusa","homepage":"","size":74834,"stargazers_count":65,"watchers_count":65,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":149,"forks":16,"open_issues":149,"watchers":65,"default_branch":"master"}},"base":{"label":"pymedusa:develop","ref":"develop","sha":"6918f6fabd1dcfafaa17c65aeb9f3420510a6fdb","user":{"login":"pymedusa","id":16712498,"avatar_url":"https://avatars2.githubusercontent.com/u/16712498?v=3","gravatar_id":"","url":"https://api.github.com/users/pymedusa","html_url":"https://github.com/pymedusa","followers_url":"https://api.github.com/users/pymedusa/followers","following_url":"https://api.github.com/users/pymedusa/following{/other_user}","gists_url":"https://api.github.com/users/pymedusa/gists{/gist_id}","starred_url":"https://api.github.com/users/pymedusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pymedusa/subscriptions","organizations_url":"https://api.github.com/users/pymedusa/orgs","repos_url":"https://api.github.com/users/pymedusa/repos","events_url":"https://api.github.com/users/pymedusa/events{/privacy}","received_events_url":"https://api.github.com/users/pymedusa/received_events","type":"Organization","site_admin":false},"repo":{"id":52334681,"name":"Medusa","full_name":"pymedusa/Medusa","owner":{"login":"pymedusa","id":16712498,"avatar_url":"https://avatars2.githubusercontent.com/u/16712498?v=3","gravatar_id":"","url":"https://api.github.com/users/pymedusa","html_url":"https://github.com/pymedusa","followers_url":"https://api.github.com/users/pymedusa/followers","following_url":"https://api.github.com/users/pymedusa/following{/other_user}","gists_url":"https://api.github.com/users/pymedusa/gists{/gist_id}","starred_url":"https://api.github.com/users/pymedusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pymedusa/subscriptions","organizations_url":"https://api.github.com/users/pymedusa/orgs","repos_url":"https://api.github.com/users/pymedusa/repos","events_url":"https://api.github.com/users/pymedusa/events{/privacy}","received_events_url":"https://api.github.com/users/pymedusa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pymedusa/Medusa","description":"Now with the most wanted feature: **Manual Search**. You can choose what to download! IRC: #pymedusa","fork":false,"url":"https://api.github.com/repos/pymedusa/Medusa","forks_url":"https://api.github.com/repos/pymedusa/Medusa/forks","keys_url":"https://api.github.com/repos/pymedusa/Medusa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pymedusa/Medusa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pymedusa/Medusa/teams","hooks_url":"https://api.github.com/repos/pymedusa/Medusa/hooks","issue_events_url":"https://api.github.com/repos/pymedusa/Medusa/issues/events{/number}","events_url":"https://api.github.com/repos/pymedusa/Medusa/events","assignees_url":"https://api.github.com/repos/pymedusa/Medusa/assignees{/user}","branches_url":"https://api.github.com/repos/pymedusa/Medusa/branches{/branch}","tags_url":"https://api.github.com/repos/pymedusa/Medusa/tags","blobs_url":"https://api.github.com/repos/pymedusa/Medusa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pymedusa/Medusa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pymedusa/Medusa/git/refs{/sha}","trees_url":"https://api.github.com/repos/pymedusa/Medusa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pymedusa/Medusa/statuses/{sha}","languages_url":"https://api.github.com/repos/pymedusa/Medusa/languages","stargazers_url":"https://api.github.com/repos/pymedusa/Medusa/stargazers","contributors_url":"https://api.github.com/repos/pymedusa/Medusa/contributors","subscribers_url":"https://api.github.com/repos/pymedusa/Medusa/subscribers","subscription_url":"https://api.github.com/repos/pymedusa/Medusa/subscription","commits_url":"https://api.github.com/repos/pymedusa/Medusa/commits{/sha}","git_commits_url":"https://api.github.com/repos/pymedusa/Medusa/git/commits{/sha}","comments_url":"https://api.github.com/repos/pymedusa/Medusa/comments{/number}","issue_comment_url":"https://api.github.com/repos/pymedusa/Medusa/issues/comments{/number}","contents_url":"https://api.github.com/repos/pymedusa/Medusa/contents/{+path}","compare_url":"https://api.github.com/repos/pymedusa/Medusa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pymedusa/Medusa/merges","archive_url":"https://api.github.com/repos/pymedusa/Medusa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pymedusa/Medusa/downloads","issues_url":"https://api.github.com/repos/pymedusa/Medusa/issues{/number}","pulls_url":"https://api.github.com/repos/pymedusa/Medusa/pulls{/number}","milestones_url":"https://api.github.com/repos/pymedusa/Medusa/milestones{/number}","notifications_url":"https://api.github.com/repos/pymedusa/Medusa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pymedusa/Medusa/labels{/name}","releases_url":"https://api.github.com/repos/pymedusa/Medusa/releases{/id}","deployments_url":"https://api.github.com/repos/pymedusa/Medusa/deployments","created_at":"2016-02-23T06:02:11Z","updated_at":"2017-04-01T21:53:54Z","pushed_at":"2017-04-02T06:21:40Z","git_url":"git://github.com/pymedusa/Medusa.git","ssh_url":"git@github.com:pymedusa/Medusa.git","clone_url":"https://github.com/pymedusa/Medusa.git","svn_url":"https://github.com/pymedusa/Medusa","homepage":"","size":74834,"stargazers_count":65,"watchers_count":65,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":149,"forks":16,"open_issues":149,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511"},"html":{"href":"https://github.com/pymedusa/Medusa/pull/2511"},"issue":{"href":"https://api.github.com/repos/pymedusa/Medusa/issues/2511"},"comments":{"href":"https://api.github.com/repos/pymedusa/Medusa/issues/2511/comments"},"review_comments":{"href":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511/comments"},"review_comment":{"href":"https://api.github.com/repos/pymedusa/Medusa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pymedusa/Medusa/pulls/2511/commits"},"statuses":{"href":"https://api.github.com/repos/pymedusa/Medusa/statuses/fc7cadb25127bcf94265717022a68feebb35de7a"}}}}
{"actor":{"display_login":"labrys"}}