{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/liveblog/pulls/comments/35864525","id":35864525,"diff_hunk":"@@ -81,6 +83,21 @@ def update_registered_theme_with_local_files(self):\n                 created.append(theme)\n         return (created, updated)\n \n+    def on_delete(self, deleted_theme):\n+        blogs_service = get_resource_service('blogs')","path":"server/liveblog/themes/themes.py","position":14,"original_position":14,"commit_id":"5a06b2038b86f7593afed4b122c5b74fb66f5381","original_commit_id":"5a06b2038b86f7593afed4b122c5b74fb66f5381","user":{"login":"ancafarcas","id":6908520,"avatar_url":"https://avatars.githubusercontent.com/u/6908520?v=3","gravatar_id":"","url":"https://api.github.com/users/ancafarcas","html_url":"https://github.com/ancafarcas","followers_url":"https://api.github.com/users/ancafarcas/followers","following_url":"https://api.github.com/users/ancafarcas/following{/other_user}","gists_url":"https://api.github.com/users/ancafarcas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancafarcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancafarcas/subscriptions","organizations_url":"https://api.github.com/users/ancafarcas/orgs","repos_url":"https://api.github.com/users/ancafarcas/repos","events_url":"https://api.github.com/users/ancafarcas/events{/privacy}","received_events_url":"https://api.github.com/users/ancafarcas/received_events","type":"User","site_admin":false},"body":"yep, I started to work on this issue since I realized the exact thing you are talking about","created_at":"2015-07-30T12:19:19Z","updated_at":"2015-07-30T12:19:19Z","html_url":"https://github.com/superdesk/liveblog/pull/166#discussion_r35864525","pull_request_url":"https://api.github.com/repos/superdesk/liveblog/pulls/166","_links":{"self":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/comments/35864525"},"html":{"href":"https://github.com/superdesk/liveblog/pull/166#discussion_r35864525"},"pull_request":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/166"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/liveblog/pulls/166","id":40891185,"html_url":"https://github.com/superdesk/liveblog/pull/166","diff_url":"https://github.com/superdesk/liveblog/pull/166.diff","patch_url":"https://github.com/superdesk/liveblog/pull/166.patch","issue_url":"https://api.github.com/repos/superdesk/liveblog/issues/166","number":166,"state":"open","locked":false,"title":"LBSD-567 theme-removal","user":{"login":"ancafarcas","id":6908520,"avatar_url":"https://avatars.githubusercontent.com/u/6908520?v=3","gravatar_id":"","url":"https://api.github.com/users/ancafarcas","html_url":"https://github.com/ancafarcas","followers_url":"https://api.github.com/users/ancafarcas/followers","following_url":"https://api.github.com/users/ancafarcas/following{/other_user}","gists_url":"https://api.github.com/users/ancafarcas/gists{/gist_id}","starred_url":"https://api.github.com/users/ancafarcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ancafarcas/subscriptions","organizations_url":"https://api.github.com/users/ancafarcas/orgs","repos_url":"https://api.github.com/users/ancafarcas/repos","events_url":"https://api.github.com/users/ancafarcas/events{/privacy}","received_events_url":"https://api.github.com/users/ancafarcas/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-27T10:51:23Z","updated_at":"2015-07-30T12:19:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4300b0b9f52859bf8faaf656039924d0e4a48157","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/liveblog/pulls/166/commits","review_comments_url":"https://api.github.com/repos/superdesk/liveblog/pulls/166/comments","review_comment_url":"https://api.github.com/repos/superdesk/liveblog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/liveblog/issues/166/comments","statuses_url":"https://api.github.com/repos/superdesk/liveblog/statuses/5a06b2038b86f7593afed4b122c5b74fb66f5381","head":{"label":"superdesk:feature/remove-specified-theme","ref":"feature/remove-specified-theme","sha":"5a06b2038b86f7593afed4b122c5b74fb66f5381","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":30958944,"name":"liveblog","full_name":"superdesk/liveblog","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/liveblog","description":"Liveblog","fork":false,"url":"https://api.github.com/repos/superdesk/liveblog","forks_url":"https://api.github.com/repos/superdesk/liveblog/forks","keys_url":"https://api.github.com/repos/superdesk/liveblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/liveblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/liveblog/teams","hooks_url":"https://api.github.com/repos/superdesk/liveblog/hooks","issue_events_url":"https://api.github.com/repos/superdesk/liveblog/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/liveblog/events","assignees_url":"https://api.github.com/repos/superdesk/liveblog/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/liveblog/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/liveblog/tags","blobs_url":"https://api.github.com/repos/superdesk/liveblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/liveblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/liveblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/liveblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/liveblog/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/liveblog/languages","stargazers_url":"https://api.github.com/repos/superdesk/liveblog/stargazers","contributors_url":"https://api.github.com/repos/superdesk/liveblog/contributors","subscribers_url":"https://api.github.com/repos/superdesk/liveblog/subscribers","subscription_url":"https://api.github.com/repos/superdesk/liveblog/subscription","commits_url":"https://api.github.com/repos/superdesk/liveblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/liveblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/liveblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/liveblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/liveblog/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/liveblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/liveblog/merges","archive_url":"https://api.github.com/repos/superdesk/liveblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/liveblog/downloads","issues_url":"https://api.github.com/repos/superdesk/liveblog/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/liveblog/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/liveblog/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/liveblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/liveblog/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/liveblog/releases{/id}","created_at":"2015-02-18T09:22:19Z","updated_at":"2015-07-23T11:02:21Z","pushed_at":"2015-07-30T11:28:57Z","git_url":"git://github.com/superdesk/liveblog.git","ssh_url":"git@github.com:superdesk/liveblog.git","clone_url":"https://github.com/superdesk/liveblog.git","svn_url":"https://github.com/superdesk/liveblog","homepage":"https://liveblog.sd-test.sourcefabric.org","size":5518,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"superdesk:devel","ref":"devel","sha":"a8ac05bf09404f06afb60c4adab00a9110dbfa63","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":30958944,"name":"liveblog","full_name":"superdesk/liveblog","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/liveblog","description":"Liveblog","fork":false,"url":"https://api.github.com/repos/superdesk/liveblog","forks_url":"https://api.github.com/repos/superdesk/liveblog/forks","keys_url":"https://api.github.com/repos/superdesk/liveblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/liveblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/liveblog/teams","hooks_url":"https://api.github.com/repos/superdesk/liveblog/hooks","issue_events_url":"https://api.github.com/repos/superdesk/liveblog/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/liveblog/events","assignees_url":"https://api.github.com/repos/superdesk/liveblog/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/liveblog/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/liveblog/tags","blobs_url":"https://api.github.com/repos/superdesk/liveblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/liveblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/liveblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/liveblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/liveblog/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/liveblog/languages","stargazers_url":"https://api.github.com/repos/superdesk/liveblog/stargazers","contributors_url":"https://api.github.com/repos/superdesk/liveblog/contributors","subscribers_url":"https://api.github.com/repos/superdesk/liveblog/subscribers","subscription_url":"https://api.github.com/repos/superdesk/liveblog/subscription","commits_url":"https://api.github.com/repos/superdesk/liveblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/liveblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/liveblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/liveblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/liveblog/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/liveblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/liveblog/merges","archive_url":"https://api.github.com/repos/superdesk/liveblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/liveblog/downloads","issues_url":"https://api.github.com/repos/superdesk/liveblog/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/liveblog/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/liveblog/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/liveblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/liveblog/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/liveblog/releases{/id}","created_at":"2015-02-18T09:22:19Z","updated_at":"2015-07-23T11:02:21Z","pushed_at":"2015-07-30T11:28:57Z","git_url":"git://github.com/superdesk/liveblog.git","ssh_url":"git@github.com:superdesk/liveblog.git","clone_url":"https://github.com/superdesk/liveblog.git","svn_url":"https://github.com/superdesk/liveblog","homepage":"https://liveblog.sd-test.sourcefabric.org","size":5518,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/166"},"html":{"href":"https://github.com/superdesk/liveblog/pull/166"},"issue":{"href":"https://api.github.com/repos/superdesk/liveblog/issues/166"},"comments":{"href":"https://api.github.com/repos/superdesk/liveblog/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/liveblog/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/liveblog/statuses/5a06b2038b86f7593afed4b122c5b74fb66f5381"}}}}