{"action":"created","comment":{"url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/comments/187311902","pull_request_review_id":119064809,"id":187311902,"diff_hunk":"@@ -36,13 +36,13 @@\n # If that fails, attempt to import the deprecated implementation\n # from the platform module.\n try:\n-    from distro import linux_distribution as __linux_distro\n+    from distro import linux_distribution as linux_distro","path":"plugins/copr.py","position":5,"original_position":5,"commit_id":"8f8a5d30cd768c972e2eee3f405946e86e6aac8a","original_commit_id":"8f8a5d30cd768c972e2eee3f405946e86e6aac8a","user":{"login":"m-blaha","id":335612,"avatar_url":"https://avatars2.githubusercontent.com/u/335612?v=4","gravatar_id":"","url":"https://api.github.com/users/m-blaha","html_url":"https://github.com/m-blaha","followers_url":"https://api.github.com/users/m-blaha/followers","following_url":"https://api.github.com/users/m-blaha/following{/other_user}","gists_url":"https://api.github.com/users/m-blaha/gists{/gist_id}","starred_url":"https://api.github.com/users/m-blaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-blaha/subscriptions","organizations_url":"https://api.github.com/users/m-blaha/orgs","repos_url":"https://api.github.com/users/m-blaha/repos","events_url":"https://api.github.com/users/m-blaha/events{/privacy}","received_events_url":"https://api.github.com/users/m-blaha/received_events","type":"User","site_admin":false},"body":"How about removing this `as linux_distro` import and rename the function on the line 45 to `def linux_distribution()`?","created_at":"2018-05-10T12:08:57Z","updated_at":"2018-05-10T12:08:57Z","html_url":"https://github.com/rpm-software-management/dnf-plugins-core/pull/261#discussion_r187311902","pull_request_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/comments/187311902"},"html":{"href":"https://github.com/rpm-software-management/dnf-plugins-core/pull/261#discussion_r187311902"},"pull_request":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261"}}},"pull_request":{"url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261","id":187153531,"html_url":"https://github.com/rpm-software-management/dnf-plugins-core/pull/261","diff_url":"https://github.com/rpm-software-management/dnf-plugins-core/pull/261.diff","patch_url":"https://github.com/rpm-software-management/dnf-plugins-core/pull/261.patch","issue_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues/261","number":261,"state":"open","locked":false,"title":"copr: fix bz#1576736","user":{"login":"clime","id":2030528,"avatar_url":"https://avatars2.githubusercontent.com/u/2030528?v=4","gravatar_id":"","url":"https://api.github.com/users/clime","html_url":"https://github.com/clime","followers_url":"https://api.github.com/users/clime/followers","following_url":"https://api.github.com/users/clime/following{/other_user}","gists_url":"https://api.github.com/users/clime/gists{/gist_id}","starred_url":"https://api.github.com/users/clime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clime/subscriptions","organizations_url":"https://api.github.com/users/clime/orgs","repos_url":"https://api.github.com/users/clime/repos","events_url":"https://api.github.com/users/clime/events{/privacy}","received_events_url":"https://api.github.com/users/clime/received_events","type":"User","site_admin":false},"body":"Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1576736.\r\n\r\nDetails about name mangling: https://docs.python.org/3/reference/expressions.html?highlight=name%20mangling#atom-identifiers","created_at":"2018-05-10T10:15:09Z","updated_at":"2018-05-10T12:08:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad348abfcf118d33dce741d816f65e67fd2ba9d9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261/commits","review_comments_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261/comments","review_comment_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues/261/comments","statuses_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/statuses/8f8a5d30cd768c972e2eee3f405946e86e6aac8a","head":{"label":"clime:master","ref":"master","sha":"8f8a5d30cd768c972e2eee3f405946e86e6aac8a","user":{"login":"clime","id":2030528,"avatar_url":"https://avatars2.githubusercontent.com/u/2030528?v=4","gravatar_id":"","url":"https://api.github.com/users/clime","html_url":"https://github.com/clime","followers_url":"https://api.github.com/users/clime/followers","following_url":"https://api.github.com/users/clime/following{/other_user}","gists_url":"https://api.github.com/users/clime/gists{/gist_id}","starred_url":"https://api.github.com/users/clime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clime/subscriptions","organizations_url":"https://api.github.com/users/clime/orgs","repos_url":"https://api.github.com/users/clime/repos","events_url":"https://api.github.com/users/clime/events{/privacy}","received_events_url":"https://api.github.com/users/clime/received_events","type":"User","site_admin":false},"repo":{"id":132883186,"name":"dnf-plugins-core","full_name":"clime/dnf-plugins-core","owner":{"login":"clime","id":2030528,"avatar_url":"https://avatars2.githubusercontent.com/u/2030528?v=4","gravatar_id":"","url":"https://api.github.com/users/clime","html_url":"https://github.com/clime","followers_url":"https://api.github.com/users/clime/followers","following_url":"https://api.github.com/users/clime/following{/other_user}","gists_url":"https://api.github.com/users/clime/gists{/gist_id}","starred_url":"https://api.github.com/users/clime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clime/subscriptions","organizations_url":"https://api.github.com/users/clime/orgs","repos_url":"https://api.github.com/users/clime/repos","events_url":"https://api.github.com/users/clime/events{/privacy}","received_events_url":"https://api.github.com/users/clime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clime/dnf-plugins-core","description":"Core DNF Plugins","fork":true,"url":"https://api.github.com/repos/clime/dnf-plugins-core","forks_url":"https://api.github.com/repos/clime/dnf-plugins-core/forks","keys_url":"https://api.github.com/repos/clime/dnf-plugins-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clime/dnf-plugins-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clime/dnf-plugins-core/teams","hooks_url":"https://api.github.com/repos/clime/dnf-plugins-core/hooks","issue_events_url":"https://api.github.com/repos/clime/dnf-plugins-core/issues/events{/number}","events_url":"https://api.github.com/repos/clime/dnf-plugins-core/events","assignees_url":"https://api.github.com/repos/clime/dnf-plugins-core/assignees{/user}","branches_url":"https://api.github.com/repos/clime/dnf-plugins-core/branches{/branch}","tags_url":"https://api.github.com/repos/clime/dnf-plugins-core/tags","blobs_url":"https://api.github.com/repos/clime/dnf-plugins-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clime/dnf-plugins-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clime/dnf-plugins-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/clime/dnf-plugins-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clime/dnf-plugins-core/statuses/{sha}","languages_url":"https://api.github.com/repos/clime/dnf-plugins-core/languages","stargazers_url":"https://api.github.com/repos/clime/dnf-plugins-core/stargazers","contributors_url":"https://api.github.com/repos/clime/dnf-plugins-core/contributors","subscribers_url":"https://api.github.com/repos/clime/dnf-plugins-core/subscribers","subscription_url":"https://api.github.com/repos/clime/dnf-plugins-core/subscription","commits_url":"https://api.github.com/repos/clime/dnf-plugins-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/clime/dnf-plugins-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/clime/dnf-plugins-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/clime/dnf-plugins-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/clime/dnf-plugins-core/contents/{+path}","compare_url":"https://api.github.com/repos/clime/dnf-plugins-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clime/dnf-plugins-core/merges","archive_url":"https://api.github.com/repos/clime/dnf-plugins-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clime/dnf-plugins-core/downloads","issues_url":"https://api.github.com/repos/clime/dnf-plugins-core/issues{/number}","pulls_url":"https://api.github.com/repos/clime/dnf-plugins-core/pulls{/number}","milestones_url":"https://api.github.com/repos/clime/dnf-plugins-core/milestones{/number}","notifications_url":"https://api.github.com/repos/clime/dnf-plugins-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clime/dnf-plugins-core/labels{/name}","releases_url":"https://api.github.com/repos/clime/dnf-plugins-core/releases{/id}","deployments_url":"https://api.github.com/repos/clime/dnf-plugins-core/deployments","created_at":"2018-05-10T10:07:56Z","updated_at":"2018-05-10T10:08:54Z","pushed_at":"2018-05-10T10:08:53Z","git_url":"git://github.com/clime/dnf-plugins-core.git","ssh_url":"git@github.com:clime/dnf-plugins-core.git","clone_url":"https://github.com/clime/dnf-plugins-core.git","svn_url":"https://github.com/clime/dnf-plugins-core","homepage":null,"size":1361,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rpm-software-management:master","ref":"master","sha":"af84c2148f5b08c1886b471e26aa971a4a681862","user":{"login":"rpm-software-management","id":8504469,"avatar_url":"https://avatars3.githubusercontent.com/u/8504469?v=4","gravatar_id":"","url":"https://api.github.com/users/rpm-software-management","html_url":"https://github.com/rpm-software-management","followers_url":"https://api.github.com/users/rpm-software-management/followers","following_url":"https://api.github.com/users/rpm-software-management/following{/other_user}","gists_url":"https://api.github.com/users/rpm-software-management/gists{/gist_id}","starred_url":"https://api.github.com/users/rpm-software-management/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpm-software-management/subscriptions","organizations_url":"https://api.github.com/users/rpm-software-management/orgs","repos_url":"https://api.github.com/users/rpm-software-management/repos","events_url":"https://api.github.com/users/rpm-software-management/events{/privacy}","received_events_url":"https://api.github.com/users/rpm-software-management/received_events","type":"Organization","site_admin":false},"repo":{"id":14720810,"name":"dnf-plugins-core","full_name":"rpm-software-management/dnf-plugins-core","owner":{"login":"rpm-software-management","id":8504469,"avatar_url":"https://avatars3.githubusercontent.com/u/8504469?v=4","gravatar_id":"","url":"https://api.github.com/users/rpm-software-management","html_url":"https://github.com/rpm-software-management","followers_url":"https://api.github.com/users/rpm-software-management/followers","following_url":"https://api.github.com/users/rpm-software-management/following{/other_user}","gists_url":"https://api.github.com/users/rpm-software-management/gists{/gist_id}","starred_url":"https://api.github.com/users/rpm-software-management/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpm-software-management/subscriptions","organizations_url":"https://api.github.com/users/rpm-software-management/orgs","repos_url":"https://api.github.com/users/rpm-software-management/repos","events_url":"https://api.github.com/users/rpm-software-management/events{/privacy}","received_events_url":"https://api.github.com/users/rpm-software-management/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rpm-software-management/dnf-plugins-core","description":"Core DNF Plugins","fork":false,"url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core","forks_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/forks","keys_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/teams","hooks_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/hooks","issue_events_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues/events{/number}","events_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/events","assignees_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/assignees{/user}","branches_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/branches{/branch}","tags_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/tags","blobs_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/statuses/{sha}","languages_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/languages","stargazers_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/stargazers","contributors_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/contributors","subscribers_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/subscribers","subscription_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/subscription","commits_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/contents/{+path}","compare_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/merges","archive_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/downloads","issues_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues{/number}","pulls_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls{/number}","milestones_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/milestones{/number}","notifications_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/labels{/name}","releases_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/releases{/id}","deployments_url":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/deployments","created_at":"2013-11-26T15:34:01Z","updated_at":"2018-04-24T07:44:41Z","pushed_at":"2018-05-10T10:15:10Z","git_url":"git://github.com/rpm-software-management/dnf-plugins-core.git","ssh_url":"git@github.com:rpm-software-management/dnf-plugins-core.git","clone_url":"https://github.com/rpm-software-management/dnf-plugins-core.git","svn_url":"https://github.com/rpm-software-management/dnf-plugins-core","homepage":null,"size":1377,"stargazers_count":31,"watchers_count":31,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":61,"open_issues":8,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261"},"html":{"href":"https://github.com/rpm-software-management/dnf-plugins-core/pull/261"},"issue":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues/261"},"comments":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/issues/261/comments"},"review_comments":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261/comments"},"review_comment":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/pulls/261/commits"},"statuses":{"href":"https://api.github.com/repos/rpm-software-management/dnf-plugins-core/statuses/8f8a5d30cd768c972e2eee3f405946e86e6aac8a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"m-blaha"}}