{"action":"created","comment":{"url":"https://api.github.com/repos/doadin/deluge/pulls/comments/63962459","id":63962459,"diff_hunk":"@@ -11,14 +11,24 @@\n from __future__ import print_function\n \n import os\n+import warnings\n \n-import gobject\n-import gtk\n-from gtk import gdk, keysyms\n+# FIXME: use this as fallback to get_introspection_module?\n+from gi.importer import modules\n+# from gi.module import get_introspection_module\n+from gi.repository import Gdk, GObject, Gtk\n \n from deluge.common import resource_filename\n from deluge.path_chooser_common import get_completion_paths\n \n+try:\n+    # Import only on X11\n+    from gi.repository import GdkX11  # NOQA\n+except:","path":"deluge/ui/gtkui/path_combo_chooser.py","position":20,"original_position":20,"commit_id":"14baae6916c565f33743e57f4c49b8c2ddd184ef","original_commit_id":"14baae6916c565f33743e57f4c49b8c2ddd184ef","user":{"login":"doadin","id":2148359,"avatar_url":"https://avatars.githubusercontent.com/u/2148359?v=3","gravatar_id":"","url":"https://api.github.com/users/doadin","html_url":"https://github.com/doadin","followers_url":"https://api.github.com/users/doadin/followers","following_url":"https://api.github.com/users/doadin/following{/other_user}","gists_url":"https://api.github.com/users/doadin/gists{/gist_id}","starred_url":"https://api.github.com/users/doadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doadin/subscriptions","organizations_url":"https://api.github.com/users/doadin/orgs","repos_url":"https://api.github.com/users/doadin/repos","events_url":"https://api.github.com/users/doadin/events{/privacy}","received_events_url":"https://api.github.com/users/doadin/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [No exception type(s) specified](https://www.codacy.com/app/tbkizle/deluge/file/2603219522/issues/source?bid=3238201&fileBranchId=3238205#l27)","created_at":"2016-05-19T22:07:52Z","updated_at":"2016-05-19T22:07:52Z","html_url":"https://github.com/doadin/deluge/pull/10#discussion_r63962459","pull_request_url":"https://api.github.com/repos/doadin/deluge/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/doadin/deluge/pulls/comments/63962459"},"html":{"href":"https://github.com/doadin/deluge/pull/10#discussion_r63962459"},"pull_request":{"href":"https://api.github.com/repos/doadin/deluge/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/doadin/deluge/pulls/10","id":45505170,"html_url":"https://github.com/doadin/deluge/pull/10","diff_url":"https://github.com/doadin/deluge/pull/10.diff","patch_url":"https://github.com/doadin/deluge/pull/10.patch","issue_url":"https://api.github.com/repos/doadin/deluge/issues/10","number":10,"state":"open","locked":false,"title":"Develop convert to pygi gtk3","user":{"login":"doadin","id":2148359,"avatar_url":"https://avatars.githubusercontent.com/u/2148359?v=3","gravatar_id":"","url":"https://api.github.com/users/doadin","html_url":"https://github.com/doadin","followers_url":"https://api.github.com/users/doadin/followers","following_url":"https://api.github.com/users/doadin/following{/other_user}","gists_url":"https://api.github.com/users/doadin/gists{/gist_id}","starred_url":"https://api.github.com/users/doadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doadin/subscriptions","organizations_url":"https://api.github.com/users/doadin/orgs","repos_url":"https://api.github.com/users/doadin/repos","events_url":"https://api.github.com/users/doadin/events{/privacy}","received_events_url":"https://api.github.com/users/doadin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-20T22:02:28Z","updated_at":"2016-05-19T22:07:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"972d2f17d1fc6defedc678a4ac8201f18ee5db30","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/doadin/deluge/pulls/10/commits","review_comments_url":"https://api.github.com/repos/doadin/deluge/pulls/10/comments","review_comment_url":"https://api.github.com/repos/doadin/deluge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doadin/deluge/issues/10/comments","statuses_url":"https://api.github.com/repos/doadin/deluge/statuses/14baae6916c565f33743e57f4c49b8c2ddd184ef","head":{"label":"doadin:develop-convert_to_pygi_gtk3","ref":"develop-convert_to_pygi_gtk3","sha":"14baae6916c565f33743e57f4c49b8c2ddd184ef","user":{"login":"doadin","id":2148359,"avatar_url":"https://avatars.githubusercontent.com/u/2148359?v=3","gravatar_id":"","url":"https://api.github.com/users/doadin","html_url":"https://github.com/doadin","followers_url":"https://api.github.com/users/doadin/followers","following_url":"https://api.github.com/users/doadin/following{/other_user}","gists_url":"https://api.github.com/users/doadin/gists{/gist_id}","starred_url":"https://api.github.com/users/doadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doadin/subscriptions","organizations_url":"https://api.github.com/users/doadin/orgs","repos_url":"https://api.github.com/users/doadin/repos","events_url":"https://api.github.com/users/doadin/events{/privacy}","received_events_url":"https://api.github.com/users/doadin/received_events","type":"User","site_admin":false},"repo":{"id":32652328,"name":"deluge","full_name":"doadin/deluge","owner":{"login":"doadin","id":2148359,"avatar_url":"https://avatars.githubusercontent.com/u/2148359?v=3","gravatar_id":"","url":"https://api.github.com/users/doadin","html_url":"https://github.com/doadin","followers_url":"https://api.github.com/users/doadin/followers","following_url":"https://api.github.com/users/doadin/following{/other_user}","gists_url":"https://api.github.com/users/doadin/gists{/gist_id}","starred_url":"https://api.github.com/users/doadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doadin/subscriptions","organizations_url":"https://api.github.com/users/doadin/orgs","repos_url":"https://api.github.com/users/doadin/repos","events_url":"https://api.github.com/users/doadin/events{/privacy}","received_events_url":"https://api.github.com/users/doadin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doadin/deluge","description":"Mirror of official deluge repo at http://git.deluge-torrent.org (one way sync)","fork":true,"url":"https://api.github.com/repos/doadin/deluge","forks_url":"https://api.github.com/repos/doadin/deluge/forks","keys_url":"https://api.github.com/repos/doadin/deluge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doadin/deluge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doadin/deluge/teams","hooks_url":"https://api.github.com/repos/doadin/deluge/hooks","issue_events_url":"https://api.github.com/repos/doadin/deluge/issues/events{/number}","events_url":"https://api.github.com/repos/doadin/deluge/events","assignees_url":"https://api.github.com/repos/doadin/deluge/assignees{/user}","branches_url":"https://api.github.com/repos/doadin/deluge/branches{/branch}","tags_url":"https://api.github.com/repos/doadin/deluge/tags","blobs_url":"https://api.github.com/repos/doadin/deluge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doadin/deluge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doadin/deluge/git/refs{/sha}","trees_url":"https://api.github.com/repos/doadin/deluge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doadin/deluge/statuses/{sha}","languages_url":"https://api.github.com/repos/doadin/deluge/languages","stargazers_url":"https://api.github.com/repos/doadin/deluge/stargazers","contributors_url":"https://api.github.com/repos/doadin/deluge/contributors","subscribers_url":"https://api.github.com/repos/doadin/deluge/subscribers","subscription_url":"https://api.github.com/repos/doadin/deluge/subscription","commits_url":"https://api.github.com/repos/doadin/deluge/commits{/sha}","git_commits_url":"https://api.github.com/repos/doadin/deluge/git/commits{/sha}","comments_url":"https://api.github.com/repos/doadin/deluge/comments{/number}","issue_comment_url":"https://api.github.com/repos/doadin/deluge/issues/comments{/number}","contents_url":"https://api.github.com/repos/doadin/deluge/contents/{+path}","compare_url":"https://api.github.com/repos/doadin/deluge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doadin/deluge/merges","archive_url":"https://api.github.com/repos/doadin/deluge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doadin/deluge/downloads","issues_url":"https://api.github.com/repos/doadin/deluge/issues{/number}","pulls_url":"https://api.github.com/repos/doadin/deluge/pulls{/number}","milestones_url":"https://api.github.com/repos/doadin/deluge/milestones{/number}","notifications_url":"https://api.github.com/repos/doadin/deluge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doadin/deluge/labels{/name}","releases_url":"https://api.github.com/repos/doadin/deluge/releases{/id}","deployments_url":"https://api.github.com/repos/doadin/deluge/deployments","created_at":"2015-03-21T22:20:08Z","updated_at":"2016-03-06T09:31:05Z","pushed_at":"2016-05-19T21:57:35Z","git_url":"git://github.com/doadin/deluge.git","ssh_url":"git@github.com:doadin/deluge.git","clone_url":"https://github.com/doadin/deluge.git","svn_url":"https://github.com/doadin/deluge","homepage":"http://deluge-torrent.org","size":68162,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"doadin:develop","ref":"develop","sha":"fd9e68e7e7fad936fe55c01ddc354c774e8d2cd6","user":{"login":"doadin","id":2148359,"avatar_url":"https://avatars.githubusercontent.com/u/2148359?v=3","gravatar_id":"","url":"https://api.github.com/users/doadin","html_url":"https://github.com/doadin","followers_url":"https://api.github.com/users/doadin/followers","following_url":"https://api.github.com/users/doadin/following{/other_user}","gists_url":"https://api.github.com/users/doadin/gists{/gist_id}","starred_url":"https://api.github.com/users/doadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doadin/subscriptions","organizations_url":"https://api.github.com/users/doadin/orgs","repos_url":"https://api.github.com/users/doadin/repos","events_url":"https://api.github.com/users/doadin/events{/privacy}","received_events_url":"https://api.github.com/users/doadin/received_events","type":"User","site_admin":false},"repo":{"id":32652328,"name":"deluge","full_name":"doadin/deluge","owner":{"login":"doadin","id":2148359,"avatar_url":"https://avatars.githubusercontent.com/u/2148359?v=3","gravatar_id":"","url":"https://api.github.com/users/doadin","html_url":"https://github.com/doadin","followers_url":"https://api.github.com/users/doadin/followers","following_url":"https://api.github.com/users/doadin/following{/other_user}","gists_url":"https://api.github.com/users/doadin/gists{/gist_id}","starred_url":"https://api.github.com/users/doadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doadin/subscriptions","organizations_url":"https://api.github.com/users/doadin/orgs","repos_url":"https://api.github.com/users/doadin/repos","events_url":"https://api.github.com/users/doadin/events{/privacy}","received_events_url":"https://api.github.com/users/doadin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doadin/deluge","description":"Mirror of official deluge repo at http://git.deluge-torrent.org (one way sync)","fork":true,"url":"https://api.github.com/repos/doadin/deluge","forks_url":"https://api.github.com/repos/doadin/deluge/forks","keys_url":"https://api.github.com/repos/doadin/deluge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doadin/deluge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doadin/deluge/teams","hooks_url":"https://api.github.com/repos/doadin/deluge/hooks","issue_events_url":"https://api.github.com/repos/doadin/deluge/issues/events{/number}","events_url":"https://api.github.com/repos/doadin/deluge/events","assignees_url":"https://api.github.com/repos/doadin/deluge/assignees{/user}","branches_url":"https://api.github.com/repos/doadin/deluge/branches{/branch}","tags_url":"https://api.github.com/repos/doadin/deluge/tags","blobs_url":"https://api.github.com/repos/doadin/deluge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doadin/deluge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doadin/deluge/git/refs{/sha}","trees_url":"https://api.github.com/repos/doadin/deluge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doadin/deluge/statuses/{sha}","languages_url":"https://api.github.com/repos/doadin/deluge/languages","stargazers_url":"https://api.github.com/repos/doadin/deluge/stargazers","contributors_url":"https://api.github.com/repos/doadin/deluge/contributors","subscribers_url":"https://api.github.com/repos/doadin/deluge/subscribers","subscription_url":"https://api.github.com/repos/doadin/deluge/subscription","commits_url":"https://api.github.com/repos/doadin/deluge/commits{/sha}","git_commits_url":"https://api.github.com/repos/doadin/deluge/git/commits{/sha}","comments_url":"https://api.github.com/repos/doadin/deluge/comments{/number}","issue_comment_url":"https://api.github.com/repos/doadin/deluge/issues/comments{/number}","contents_url":"https://api.github.com/repos/doadin/deluge/contents/{+path}","compare_url":"https://api.github.com/repos/doadin/deluge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doadin/deluge/merges","archive_url":"https://api.github.com/repos/doadin/deluge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doadin/deluge/downloads","issues_url":"https://api.github.com/repos/doadin/deluge/issues{/number}","pulls_url":"https://api.github.com/repos/doadin/deluge/pulls{/number}","milestones_url":"https://api.github.com/repos/doadin/deluge/milestones{/number}","notifications_url":"https://api.github.com/repos/doadin/deluge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doadin/deluge/labels{/name}","releases_url":"https://api.github.com/repos/doadin/deluge/releases{/id}","deployments_url":"https://api.github.com/repos/doadin/deluge/deployments","created_at":"2015-03-21T22:20:08Z","updated_at":"2016-03-06T09:31:05Z","pushed_at":"2016-05-19T21:57:35Z","git_url":"git://github.com/doadin/deluge.git","ssh_url":"git@github.com:doadin/deluge.git","clone_url":"https://github.com/doadin/deluge.git","svn_url":"https://github.com/doadin/deluge","homepage":"http://deluge-torrent.org","size":68162,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/doadin/deluge/pulls/10"},"html":{"href":"https://github.com/doadin/deluge/pull/10"},"issue":{"href":"https://api.github.com/repos/doadin/deluge/issues/10"},"comments":{"href":"https://api.github.com/repos/doadin/deluge/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/doadin/deluge/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/doadin/deluge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doadin/deluge/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/doadin/deluge/statuses/14baae6916c565f33743e57f4c49b8c2ddd184ef"}}}}
{"actor":{"display_login":"doadin"}}