{"action":"created","issue":{"url":"https://api.github.com/repos/thugs-rumal/rumal_back/issues/6","repository_url":"https://api.github.com/repos/thugs-rumal/rumal_back","labels_url":"https://api.github.com/repos/thugs-rumal/rumal_back/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/thugs-rumal/rumal_back/issues/6/comments","events_url":"https://api.github.com/repos/thugs-rumal/rumal_back/issues/6/events","html_url":"https://github.com/thugs-rumal/rumal_back/pull/6","id":151719157,"number":6,"title":"Moved list reset to right location","user":{"login":"sevdog","id":13779643,"avatar_url":"https://avatars.githubusercontent.com/u/13779643?v=3","gravatar_id":"","url":"https://api.github.com/users/sevdog","html_url":"https://github.com/sevdog","followers_url":"https://api.github.com/users/sevdog/followers","following_url":"https://api.github.com/users/sevdog/following{/other_user}","gists_url":"https://api.github.com/users/sevdog/gists{/gist_id}","starred_url":"https://api.github.com/users/sevdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevdog/subscriptions","organizations_url":"https://api.github.com/users/sevdog/orgs","repos_url":"https://api.github.com/users/sevdog/repos","events_url":"https://api.github.com/users/sevdog/events{/privacy}","received_events_url":"https://api.github.com/users/sevdog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-04-28T19:05:22Z","updated_at":"2016-05-04T08:41:13Z","closed_at":"2016-05-04T08:40:36Z","pull_request":{"url":"https://api.github.com/repos/thugs-rumal/rumal_back/pulls/6","html_url":"https://github.com/thugs-rumal/rumal_back/pull/6","diff_url":"https://github.com/thugs-rumal/rumal_back/pull/6.diff","patch_url":"https://github.com/thugs-rumal/rumal_back/pull/6.patch"},"body":"Moved the reset of to_delete list inside of make_flat_tree function to avoid unwanted crash when there are more than one exploit or certificate.\r\n\r\nThis is to avoid this error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/xxx/rumal_back/main/management/commands/run_thug.py\", line 364, in handle\r\n    task.object_id = self.run_task(task)\r\n  File \"/xxx/rumal_back/main/management/commands/run_thug.py\", line 339, in run_task\r\n    analysis = self.make_flat_tree(analysis,r.group(1))\r\n  File \"/xxx/rumal_back/main/management/commands/run_thug.py\", line 207, in make_flat_tree\r\n    del certificate[key]\r\nKeyError: u'url_id'\r\n```\r\nOccurred when trying to scan `https://it.wikipedia.org/wiki/Pagina_principale`"},"comment":{"url":"https://api.github.com/repos/thugs-rumal/rumal_back/issues/comments/216788662","html_url":"https://github.com/thugs-rumal/rumal_back/pull/6#issuecomment-216788662","issue_url":"https://api.github.com/repos/thugs-rumal/rumal_back/issues/6","id":216788662,"user":{"login":"pdelsante","id":2597271,"avatar_url":"https://avatars.githubusercontent.com/u/2597271?v=3","gravatar_id":"","url":"https://api.github.com/users/pdelsante","html_url":"https://github.com/pdelsante","followers_url":"https://api.github.com/users/pdelsante/followers","following_url":"https://api.github.com/users/pdelsante/following{/other_user}","gists_url":"https://api.github.com/users/pdelsante/gists{/gist_id}","starred_url":"https://api.github.com/users/pdelsante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdelsante/subscriptions","organizations_url":"https://api.github.com/users/pdelsante/orgs","repos_url":"https://api.github.com/users/pdelsante/repos","events_url":"https://api.github.com/users/pdelsante/events{/privacy}","received_events_url":"https://api.github.com/users/pdelsante/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T08:41:13Z","updated_at":"2016-05-04T08:41:13Z","body":"Merged, thanks everybody!\r\n\r\n@Dennisparchkov we will probably need to further work on the code to make it a bit more readable (e.g. PEP8 compliant) but at least now it works."}}