{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/etianen/django-historylinks/pulls/5","id":36931343,"html_url":"https://github.com/etianen/django-historylinks/pull/5","diff_url":"https://github.com/etianen/django-historylinks/pull/5.diff","patch_url":"https://github.com/etianen/django-historylinks/pull/5.patch","issue_url":"https://api.github.com/repos/etianen/django-historylinks/issues/5","number":5,"state":"open","locked":false,"title":"PEP8 fixes and Python 3 compatibility","user":{"login":"danielsamuels","id":1781176,"avatar_url":"https://avatars.githubusercontent.com/u/1781176?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsamuels","html_url":"https://github.com/danielsamuels","followers_url":"https://api.github.com/users/danielsamuels/followers","following_url":"https://api.github.com/users/danielsamuels/following{/other_user}","gists_url":"https://api.github.com/users/danielsamuels/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsamuels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsamuels/subscriptions","organizations_url":"https://api.github.com/users/danielsamuels/orgs","repos_url":"https://api.github.com/users/danielsamuels/repos","events_url":"https://api.github.com/users/danielsamuels/events{/privacy}","received_events_url":"https://api.github.com/users/danielsamuels/received_events","type":"User","site_admin":false},"body":"This pull request adds Python 3 compatibility and also brings the code style up-to-date with PEP8 guidelines.\r\n\r\nThe library is used in our CMS tests which run against the following matrix:\r\n\r\nPython version | Django version\r\n--- | ---\r\n2.7 | 1.7.8\r\n2.7 | 1.8.2\r\n3.3 | 1.7.8\r\n3.3 | 1.8.2\r\n3.4 | 1.7.8\r\n3.4 | 1.8.2\r\npypy | 1.7.8\r\npypy | 1.8.2\r\n\r\n[This build](https://travis-ci.org/onespacemedia/cms/builds/65397055) passed fully. The tests in the historylinks project are also passing.","created_at":"2015-06-04T12:58:16Z","updated_at":"2015-06-04T12:58:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/etianen/django-historylinks/pulls/5/commits","review_comments_url":"https://api.github.com/repos/etianen/django-historylinks/pulls/5/comments","review_comment_url":"https://api.github.com/repos/etianen/django-historylinks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/etianen/django-historylinks/issues/5/comments","statuses_url":"https://api.github.com/repos/etianen/django-historylinks/statuses/d0ed7eacd22df175af97f49f0cbb25abd1ef7d7a","head":{"label":"onespacemedia:master","ref":"master","sha":"d0ed7eacd22df175af97f49f0cbb25abd1ef7d7a","user":{"login":"onespacemedia","id":4577273,"avatar_url":"https://avatars.githubusercontent.com/u/4577273?v=3","gravatar_id":"","url":"https://api.github.com/users/onespacemedia","html_url":"https://github.com/onespacemedia","followers_url":"https://api.github.com/users/onespacemedia/followers","following_url":"https://api.github.com/users/onespacemedia/following{/other_user}","gists_url":"https://api.github.com/users/onespacemedia/gists{/gist_id}","starred_url":"https://api.github.com/users/onespacemedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onespacemedia/subscriptions","organizations_url":"https://api.github.com/users/onespacemedia/orgs","repos_url":"https://api.github.com/users/onespacemedia/repos","events_url":"https://api.github.com/users/onespacemedia/events{/privacy}","received_events_url":"https://api.github.com/users/onespacemedia/received_events","type":"Organization","site_admin":false},"repo":{"id":36865820,"name":"django-historylinks","full_name":"onespacemedia/django-historylinks","owner":{"login":"onespacemedia","id":4577273,"avatar_url":"https://avatars.githubusercontent.com/u/4577273?v=3","gravatar_id":"","url":"https://api.github.com/users/onespacemedia","html_url":"https://github.com/onespacemedia","followers_url":"https://api.github.com/users/onespacemedia/followers","following_url":"https://api.github.com/users/onespacemedia/following{/other_user}","gists_url":"https://api.github.com/users/onespacemedia/gists{/gist_id}","starred_url":"https://api.github.com/users/onespacemedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onespacemedia/subscriptions","organizations_url":"https://api.github.com/users/onespacemedia/orgs","repos_url":"https://api.github.com/users/onespacemedia/repos","events_url":"https://api.github.com/users/onespacemedia/events{/privacy}","received_events_url":"https://api.github.com/users/onespacemedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/onespacemedia/django-historylinks","description":"Automatic SEO-friendly HTTP 301 redirects if the URL of a model changes.","fork":true,"url":"https://api.github.com/repos/onespacemedia/django-historylinks","forks_url":"https://api.github.com/repos/onespacemedia/django-historylinks/forks","keys_url":"https://api.github.com/repos/onespacemedia/django-historylinks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/onespacemedia/django-historylinks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/onespacemedia/django-historylinks/teams","hooks_url":"https://api.github.com/repos/onespacemedia/django-historylinks/hooks","issue_events_url":"https://api.github.com/repos/onespacemedia/django-historylinks/issues/events{/number}","events_url":"https://api.github.com/repos/onespacemedia/django-historylinks/events","assignees_url":"https://api.github.com/repos/onespacemedia/django-historylinks/assignees{/user}","branches_url":"https://api.github.com/repos/onespacemedia/django-historylinks/branches{/branch}","tags_url":"https://api.github.com/repos/onespacemedia/django-historylinks/tags","blobs_url":"https://api.github.com/repos/onespacemedia/django-historylinks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/onespacemedia/django-historylinks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/onespacemedia/django-historylinks/git/refs{/sha}","trees_url":"https://api.github.com/repos/onespacemedia/django-historylinks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/onespacemedia/django-historylinks/statuses/{sha}","languages_url":"https://api.github.com/repos/onespacemedia/django-historylinks/languages","stargazers_url":"https://api.github.com/repos/onespacemedia/django-historylinks/stargazers","contributors_url":"https://api.github.com/repos/onespacemedia/django-historylinks/contributors","subscribers_url":"https://api.github.com/repos/onespacemedia/django-historylinks/subscribers","subscription_url":"https://api.github.com/repos/onespacemedia/django-historylinks/subscription","commits_url":"https://api.github.com/repos/onespacemedia/django-historylinks/commits{/sha}","git_commits_url":"https://api.github.com/repos/onespacemedia/django-historylinks/git/commits{/sha}","comments_url":"https://api.github.com/repos/onespacemedia/django-historylinks/comments{/number}","issue_comment_url":"https://api.github.com/repos/onespacemedia/django-historylinks/issues/comments{/number}","contents_url":"https://api.github.com/repos/onespacemedia/django-historylinks/contents/{+path}","compare_url":"https://api.github.com/repos/onespacemedia/django-historylinks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/onespacemedia/django-historylinks/merges","archive_url":"https://api.github.com/repos/onespacemedia/django-historylinks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/onespacemedia/django-historylinks/downloads","issues_url":"https://api.github.com/repos/onespacemedia/django-historylinks/issues{/number}","pulls_url":"https://api.github.com/repos/onespacemedia/django-historylinks/pulls{/number}","milestones_url":"https://api.github.com/repos/onespacemedia/django-historylinks/milestones{/number}","notifications_url":"https://api.github.com/repos/onespacemedia/django-historylinks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/onespacemedia/django-historylinks/labels{/name}","releases_url":"https://api.github.com/repos/onespacemedia/django-historylinks/releases{/id}","created_at":"2015-06-04T11:15:16Z","updated_at":"2015-06-04T11:15:17Z","pushed_at":"2015-06-04T11:23:17Z","git_url":"git://github.com/onespacemedia/django-historylinks.git","ssh_url":"git@github.com:onespacemedia/django-historylinks.git","clone_url":"https://github.com/onespacemedia/django-historylinks.git","svn_url":"https://github.com/onespacemedia/django-historylinks","homepage":"","size":104,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"etianen:master","ref":"master","sha":"dd3f5ba13da5174d28bba4d7418dc476e73ecb57","user":{"login":"etianen","id":148744,"avatar_url":"https://avatars.githubusercontent.com/u/148744?v=3","gravatar_id":"","url":"https://api.github.com/users/etianen","html_url":"https://github.com/etianen","followers_url":"https://api.github.com/users/etianen/followers","following_url":"https://api.github.com/users/etianen/following{/other_user}","gists_url":"https://api.github.com/users/etianen/gists{/gist_id}","starred_url":"https://api.github.com/users/etianen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etianen/subscriptions","organizations_url":"https://api.github.com/users/etianen/orgs","repos_url":"https://api.github.com/users/etianen/repos","events_url":"https://api.github.com/users/etianen/events{/privacy}","received_events_url":"https://api.github.com/users/etianen/received_events","type":"User","site_admin":false},"repo":{"id":3981739,"name":"django-historylinks","full_name":"etianen/django-historylinks","owner":{"login":"etianen","id":148744,"avatar_url":"https://avatars.githubusercontent.com/u/148744?v=3","gravatar_id":"","url":"https://api.github.com/users/etianen","html_url":"https://github.com/etianen","followers_url":"https://api.github.com/users/etianen/followers","following_url":"https://api.github.com/users/etianen/following{/other_user}","gists_url":"https://api.github.com/users/etianen/gists{/gist_id}","starred_url":"https://api.github.com/users/etianen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etianen/subscriptions","organizations_url":"https://api.github.com/users/etianen/orgs","repos_url":"https://api.github.com/users/etianen/repos","events_url":"https://api.github.com/users/etianen/events{/privacy}","received_events_url":"https://api.github.com/users/etianen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/etianen/django-historylinks","description":"Automatic SEO-friendly HTTP 301 redirects if the URL of a model changes.","fork":false,"url":"https://api.github.com/repos/etianen/django-historylinks","forks_url":"https://api.github.com/repos/etianen/django-historylinks/forks","keys_url":"https://api.github.com/repos/etianen/django-historylinks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etianen/django-historylinks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etianen/django-historylinks/teams","hooks_url":"https://api.github.com/repos/etianen/django-historylinks/hooks","issue_events_url":"https://api.github.com/repos/etianen/django-historylinks/issues/events{/number}","events_url":"https://api.github.com/repos/etianen/django-historylinks/events","assignees_url":"https://api.github.com/repos/etianen/django-historylinks/assignees{/user}","branches_url":"https://api.github.com/repos/etianen/django-historylinks/branches{/branch}","tags_url":"https://api.github.com/repos/etianen/django-historylinks/tags","blobs_url":"https://api.github.com/repos/etianen/django-historylinks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etianen/django-historylinks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etianen/django-historylinks/git/refs{/sha}","trees_url":"https://api.github.com/repos/etianen/django-historylinks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etianen/django-historylinks/statuses/{sha}","languages_url":"https://api.github.com/repos/etianen/django-historylinks/languages","stargazers_url":"https://api.github.com/repos/etianen/django-historylinks/stargazers","contributors_url":"https://api.github.com/repos/etianen/django-historylinks/contributors","subscribers_url":"https://api.github.com/repos/etianen/django-historylinks/subscribers","subscription_url":"https://api.github.com/repos/etianen/django-historylinks/subscription","commits_url":"https://api.github.com/repos/etianen/django-historylinks/commits{/sha}","git_commits_url":"https://api.github.com/repos/etianen/django-historylinks/git/commits{/sha}","comments_url":"https://api.github.com/repos/etianen/django-historylinks/comments{/number}","issue_comment_url":"https://api.github.com/repos/etianen/django-historylinks/issues/comments{/number}","contents_url":"https://api.github.com/repos/etianen/django-historylinks/contents/{+path}","compare_url":"https://api.github.com/repos/etianen/django-historylinks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etianen/django-historylinks/merges","archive_url":"https://api.github.com/repos/etianen/django-historylinks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etianen/django-historylinks/downloads","issues_url":"https://api.github.com/repos/etianen/django-historylinks/issues{/number}","pulls_url":"https://api.github.com/repos/etianen/django-historylinks/pulls{/number}","milestones_url":"https://api.github.com/repos/etianen/django-historylinks/milestones{/number}","notifications_url":"https://api.github.com/repos/etianen/django-historylinks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etianen/django-historylinks/labels{/name}","releases_url":"https://api.github.com/repos/etianen/django-historylinks/releases{/id}","created_at":"2012-04-10T11:54:15Z","updated_at":"2015-04-15T09:04:16Z","pushed_at":"2015-04-15T09:04:24Z","git_url":"git://github.com/etianen/django-historylinks.git","ssh_url":"git@github.com:etianen/django-historylinks.git","clone_url":"https://github.com/etianen/django-historylinks.git","svn_url":"https://github.com/etianen/django-historylinks","homepage":"","size":226,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/etianen/django-historylinks/pulls/5"},"html":{"href":"https://github.com/etianen/django-historylinks/pull/5"},"issue":{"href":"https://api.github.com/repos/etianen/django-historylinks/issues/5"},"comments":{"href":"https://api.github.com/repos/etianen/django-historylinks/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/etianen/django-historylinks/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/etianen/django-historylinks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/etianen/django-historylinks/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/etianen/django-historylinks/statuses/d0ed7eacd22df175af97f49f0cbb25abd1ef7d7a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":86,"deletions":85,"changed_files":8}}