{"action":"created","comment":{"url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/comments/69158520","id":69158520,"diff_hunk":"@@ -1,7 +1,21 @@\n-import html\n import logging\n+import sys\n from datetime import timedelta\n \n+\n+# Safely importing the HTML parser utility, highly dependent on Python versions\n+if sys.version_info >= (3, 4):\n+    # From v3.4.0 in advance\n+    import html\n+elif (3, 0) < sys.version_info < (3, 4):\n+    # From v3.0 until 3.3\n+    from html.parser import HTMLParser\n+    html = HTMLParser()\n+else:\n+    # Python 2.x versions\n+    from HTMLParser import HTMLParser\n+    html = HTMLParser()\n+","path":"timeline_logger/management/commands/report_mailing.py","position":19,"original_position":19,"commit_id":"a67cfd0e0e9d0840b113fb771829ac0963a46eaf","original_commit_id":"a67cfd0e0e9d0840b113fb771829ac0963a46eaf","user":{"login":"jose-lpa","id":2226098,"avatar_url":"https://avatars.githubusercontent.com/u/2226098?v=3","gravatar_id":"","url":"https://api.github.com/users/jose-lpa","html_url":"https://github.com/jose-lpa","followers_url":"https://api.github.com/users/jose-lpa/followers","following_url":"https://api.github.com/users/jose-lpa/following{/other_user}","gists_url":"https://api.github.com/users/jose-lpa/gists{/gist_id}","starred_url":"https://api.github.com/users/jose-lpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jose-lpa/subscriptions","organizations_url":"https://api.github.com/users/jose-lpa/orgs","repos_url":"https://api.github.com/users/jose-lpa/repos","events_url":"https://api.github.com/users/jose-lpa/events{/privacy}","received_events_url":"https://api.github.com/users/jose-lpa/received_events","type":"User","site_admin":false},"body":"Yeah, I think I should.","created_at":"2016-06-30T15:48:44Z","updated_at":"2016-06-30T15:48:44Z","html_url":"https://github.com/maykinmedia/django-timeline-logger/pull/1#discussion_r69158520","pull_request_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/comments/69158520"},"html":{"href":"https://github.com/maykinmedia/django-timeline-logger/pull/1#discussion_r69158520"},"pull_request":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1","id":75839715,"html_url":"https://github.com/maykinmedia/django-timeline-logger/pull/1","diff_url":"https://github.com/maykinmedia/django-timeline-logger/pull/1.diff","patch_url":"https://github.com/maykinmedia/django-timeline-logger/pull/1.patch","issue_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/1","number":1,"state":"open","locked":false,"title":"Feature/digest email command","user":{"login":"jose-lpa","id":2226098,"avatar_url":"https://avatars.githubusercontent.com/u/2226098?v=3","gravatar_id":"","url":"https://api.github.com/users/jose-lpa","html_url":"https://github.com/jose-lpa","followers_url":"https://api.github.com/users/jose-lpa/followers","following_url":"https://api.github.com/users/jose-lpa/following{/other_user}","gists_url":"https://api.github.com/users/jose-lpa/gists{/gist_id}","starred_url":"https://api.github.com/users/jose-lpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jose-lpa/subscriptions","organizations_url":"https://api.github.com/users/jose-lpa/orgs","repos_url":"https://api.github.com/users/jose-lpa/repos","events_url":"https://api.github.com/users/jose-lpa/events{/privacy}","received_events_url":"https://api.github.com/users/jose-lpa/received_events","type":"User","site_admin":false},"body":"* Added `DIGEST_FROM_EMAIL` setting - It allows the programmer to define a specific email for the notifications sender, otherwise defaults to Django's custom `DEFAULT_FROM_EMAIL`.\r\n* Fixed imports bug in `report_mailing` module.\r\n* Test case for the `report_mailing` management command.","created_at":"2016-06-30T15:24:29Z","updated_at":"2016-06-30T15:48:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04435380ff4b564451319f0fd65d4fca6cdd67d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1/commits","review_comments_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1/comments","review_comment_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/1/comments","statuses_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/statuses/a67cfd0e0e9d0840b113fb771829ac0963a46eaf","head":{"label":"maykinmedia:feature/digest-email-command","ref":"feature/digest-email-command","sha":"a67cfd0e0e9d0840b113fb771829ac0963a46eaf","user":{"login":"maykinmedia","id":739212,"avatar_url":"https://avatars.githubusercontent.com/u/739212?v=3","gravatar_id":"","url":"https://api.github.com/users/maykinmedia","html_url":"https://github.com/maykinmedia","followers_url":"https://api.github.com/users/maykinmedia/followers","following_url":"https://api.github.com/users/maykinmedia/following{/other_user}","gists_url":"https://api.github.com/users/maykinmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/maykinmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maykinmedia/subscriptions","organizations_url":"https://api.github.com/users/maykinmedia/orgs","repos_url":"https://api.github.com/users/maykinmedia/repos","events_url":"https://api.github.com/users/maykinmedia/events{/privacy}","received_events_url":"https://api.github.com/users/maykinmedia/received_events","type":"Organization","site_admin":false},"repo":{"id":61119762,"name":"django-timeline-logger","full_name":"maykinmedia/django-timeline-logger","owner":{"login":"maykinmedia","id":739212,"avatar_url":"https://avatars.githubusercontent.com/u/739212?v=3","gravatar_id":"","url":"https://api.github.com/users/maykinmedia","html_url":"https://github.com/maykinmedia","followers_url":"https://api.github.com/users/maykinmedia/followers","following_url":"https://api.github.com/users/maykinmedia/following{/other_user}","gists_url":"https://api.github.com/users/maykinmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/maykinmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maykinmedia/subscriptions","organizations_url":"https://api.github.com/users/maykinmedia/orgs","repos_url":"https://api.github.com/users/maykinmedia/repos","events_url":"https://api.github.com/users/maykinmedia/events{/privacy}","received_events_url":"https://api.github.com/users/maykinmedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maykinmedia/django-timeline-logger","description":"A reusable Django app to log actions and display them in a timeline","fork":false,"url":"https://api.github.com/repos/maykinmedia/django-timeline-logger","forks_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/forks","keys_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/teams","hooks_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/hooks","issue_events_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/events{/number}","events_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/events","assignees_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/assignees{/user}","branches_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/branches{/branch}","tags_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/tags","blobs_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/refs{/sha}","trees_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/statuses/{sha}","languages_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/languages","stargazers_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/stargazers","contributors_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/contributors","subscribers_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/subscribers","subscription_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/subscription","commits_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/commits{/sha}","git_commits_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/commits{/sha}","comments_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/comments{/number}","issue_comment_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/comments{/number}","contents_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/contents/{+path}","compare_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/merges","archive_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/downloads","issues_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues{/number}","pulls_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls{/number}","milestones_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/milestones{/number}","notifications_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/labels{/name}","releases_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/releases{/id}","deployments_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/deployments","created_at":"2016-06-14T12:08:51Z","updated_at":"2016-06-14T12:18:50Z","pushed_at":"2016-06-30T15:24:29Z","git_url":"git://github.com/maykinmedia/django-timeline-logger.git","ssh_url":"git@github.com:maykinmedia/django-timeline-logger.git","clone_url":"https://github.com/maykinmedia/django-timeline-logger.git","svn_url":"https://github.com/maykinmedia/django-timeline-logger","homepage":null,"size":48,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"maykinmedia:develop","ref":"develop","sha":"995e06c51b89610b21b9f8a88cd1b61f5b4fbcde","user":{"login":"maykinmedia","id":739212,"avatar_url":"https://avatars.githubusercontent.com/u/739212?v=3","gravatar_id":"","url":"https://api.github.com/users/maykinmedia","html_url":"https://github.com/maykinmedia","followers_url":"https://api.github.com/users/maykinmedia/followers","following_url":"https://api.github.com/users/maykinmedia/following{/other_user}","gists_url":"https://api.github.com/users/maykinmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/maykinmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maykinmedia/subscriptions","organizations_url":"https://api.github.com/users/maykinmedia/orgs","repos_url":"https://api.github.com/users/maykinmedia/repos","events_url":"https://api.github.com/users/maykinmedia/events{/privacy}","received_events_url":"https://api.github.com/users/maykinmedia/received_events","type":"Organization","site_admin":false},"repo":{"id":61119762,"name":"django-timeline-logger","full_name":"maykinmedia/django-timeline-logger","owner":{"login":"maykinmedia","id":739212,"avatar_url":"https://avatars.githubusercontent.com/u/739212?v=3","gravatar_id":"","url":"https://api.github.com/users/maykinmedia","html_url":"https://github.com/maykinmedia","followers_url":"https://api.github.com/users/maykinmedia/followers","following_url":"https://api.github.com/users/maykinmedia/following{/other_user}","gists_url":"https://api.github.com/users/maykinmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/maykinmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maykinmedia/subscriptions","organizations_url":"https://api.github.com/users/maykinmedia/orgs","repos_url":"https://api.github.com/users/maykinmedia/repos","events_url":"https://api.github.com/users/maykinmedia/events{/privacy}","received_events_url":"https://api.github.com/users/maykinmedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/maykinmedia/django-timeline-logger","description":"A reusable Django app to log actions and display them in a timeline","fork":false,"url":"https://api.github.com/repos/maykinmedia/django-timeline-logger","forks_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/forks","keys_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/teams","hooks_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/hooks","issue_events_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/events{/number}","events_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/events","assignees_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/assignees{/user}","branches_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/branches{/branch}","tags_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/tags","blobs_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/refs{/sha}","trees_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/statuses/{sha}","languages_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/languages","stargazers_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/stargazers","contributors_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/contributors","subscribers_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/subscribers","subscription_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/subscription","commits_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/commits{/sha}","git_commits_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/git/commits{/sha}","comments_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/comments{/number}","issue_comment_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/comments{/number}","contents_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/contents/{+path}","compare_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/merges","archive_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/downloads","issues_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues{/number}","pulls_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls{/number}","milestones_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/milestones{/number}","notifications_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/labels{/name}","releases_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/releases{/id}","deployments_url":"https://api.github.com/repos/maykinmedia/django-timeline-logger/deployments","created_at":"2016-06-14T12:08:51Z","updated_at":"2016-06-14T12:18:50Z","pushed_at":"2016-06-30T15:24:29Z","git_url":"git://github.com/maykinmedia/django-timeline-logger.git","ssh_url":"git@github.com:maykinmedia/django-timeline-logger.git","clone_url":"https://github.com/maykinmedia/django-timeline-logger.git","svn_url":"https://github.com/maykinmedia/django-timeline-logger","homepage":null,"size":48,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1"},"html":{"href":"https://github.com/maykinmedia/django-timeline-logger/pull/1"},"issue":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/1"},"comments":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/maykinmedia/django-timeline-logger/statuses/a67cfd0e0e9d0840b113fb771829ac0963a46eaf"}}}}
{"actor":{"display_login":"jose-lpa"}}