{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/21","id":45014615,"html_url":"https://github.com/adamfeuer/rotate-backups/pull/21","diff_url":"https://github.com/adamfeuer/rotate-backups/pull/21.diff","patch_url":"https://github.com/adamfeuer/rotate-backups/pull/21.patch","issue_url":"https://api.github.com/repos/adamfeuer/rotate-backups/issues/21","number":21,"state":"open","locked":false,"title":"Rename format_filename","user":{"login":"dmr","id":128286,"avatar_url":"https://avatars.githubusercontent.com/u/128286?v=3","gravatar_id":"","url":"https://api.github.com/users/dmr","html_url":"https://github.com/dmr","followers_url":"https://api.github.com/users/dmr/followers","following_url":"https://api.github.com/users/dmr/following{/other_user}","gists_url":"https://api.github.com/users/dmr/gists{/gist_id}","starred_url":"https://api.github.com/users/dmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmr/subscriptions","organizations_url":"https://api.github.com/users/dmr/orgs","repos_url":"https://api.github.com/users/dmr/repos","events_url":"https://api.github.com/users/dmr/events{/privacy}","received_events_url":"https://api.github.com/users/dmr/received_events","type":"User","site_admin":false},"body":"After the ```if not re.match(file_pattern, filename.split('.')[0])````\r\n part the file is moved.\r\nThe method name ```format_filename``` suggests that a formatted string is returned.\r\n\r\nI didn't change the functionality but renamed the method to the function and removed the \"self.\" reassignments.\r\n\r\nIn a next step, I think ```if match_obj is None:``` should be removed from set_account_and_date.\r\nWhat do you think?","created_at":"2015-09-15T06:54:32Z","updated_at":"2015-09-15T06:54:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/21/commits","review_comments_url":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/21/comments","review_comment_url":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adamfeuer/rotate-backups/issues/21/comments","statuses_url":"https://api.github.com/repos/adamfeuer/rotate-backups/statuses/78793ed2396813e518efce4c6d6d7675445b199c","head":{"label":"netsyno:master","ref":"master","sha":"78793ed2396813e518efce4c6d6d7675445b199c","user":{"login":"netsyno","id":6490367,"avatar_url":"https://avatars.githubusercontent.com/u/6490367?v=3","gravatar_id":"","url":"https://api.github.com/users/netsyno","html_url":"https://github.com/netsyno","followers_url":"https://api.github.com/users/netsyno/followers","following_url":"https://api.github.com/users/netsyno/following{/other_user}","gists_url":"https://api.github.com/users/netsyno/gists{/gist_id}","starred_url":"https://api.github.com/users/netsyno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netsyno/subscriptions","organizations_url":"https://api.github.com/users/netsyno/orgs","repos_url":"https://api.github.com/users/netsyno/repos","events_url":"https://api.github.com/users/netsyno/events{/privacy}","received_events_url":"https://api.github.com/users/netsyno/received_events","type":"Organization","site_admin":false},"repo":{"id":41370504,"name":"rotate-backups","full_name":"netsyno/rotate-backups","owner":{"login":"netsyno","id":6490367,"avatar_url":"https://avatars.githubusercontent.com/u/6490367?v=3","gravatar_id":"","url":"https://api.github.com/users/netsyno","html_url":"https://github.com/netsyno","followers_url":"https://api.github.com/users/netsyno/followers","following_url":"https://api.github.com/users/netsyno/following{/other_user}","gists_url":"https://api.github.com/users/netsyno/gists{/gist_id}","starred_url":"https://api.github.com/users/netsyno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netsyno/subscriptions","organizations_url":"https://api.github.com/users/netsyno/orgs","repos_url":"https://api.github.com/users/netsyno/repos","events_url":"https://api.github.com/users/netsyno/events{/privacy}","received_events_url":"https://api.github.com/users/netsyno/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netsyno/rotate-backups","description":"Rotate Backups - keep hourly, daily, and weekly backups","fork":true,"url":"https://api.github.com/repos/netsyno/rotate-backups","forks_url":"https://api.github.com/repos/netsyno/rotate-backups/forks","keys_url":"https://api.github.com/repos/netsyno/rotate-backups/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netsyno/rotate-backups/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netsyno/rotate-backups/teams","hooks_url":"https://api.github.com/repos/netsyno/rotate-backups/hooks","issue_events_url":"https://api.github.com/repos/netsyno/rotate-backups/issues/events{/number}","events_url":"https://api.github.com/repos/netsyno/rotate-backups/events","assignees_url":"https://api.github.com/repos/netsyno/rotate-backups/assignees{/user}","branches_url":"https://api.github.com/repos/netsyno/rotate-backups/branches{/branch}","tags_url":"https://api.github.com/repos/netsyno/rotate-backups/tags","blobs_url":"https://api.github.com/repos/netsyno/rotate-backups/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netsyno/rotate-backups/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netsyno/rotate-backups/git/refs{/sha}","trees_url":"https://api.github.com/repos/netsyno/rotate-backups/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netsyno/rotate-backups/statuses/{sha}","languages_url":"https://api.github.com/repos/netsyno/rotate-backups/languages","stargazers_url":"https://api.github.com/repos/netsyno/rotate-backups/stargazers","contributors_url":"https://api.github.com/repos/netsyno/rotate-backups/contributors","subscribers_url":"https://api.github.com/repos/netsyno/rotate-backups/subscribers","subscription_url":"https://api.github.com/repos/netsyno/rotate-backups/subscription","commits_url":"https://api.github.com/repos/netsyno/rotate-backups/commits{/sha}","git_commits_url":"https://api.github.com/repos/netsyno/rotate-backups/git/commits{/sha}","comments_url":"https://api.github.com/repos/netsyno/rotate-backups/comments{/number}","issue_comment_url":"https://api.github.com/repos/netsyno/rotate-backups/issues/comments{/number}","contents_url":"https://api.github.com/repos/netsyno/rotate-backups/contents/{+path}","compare_url":"https://api.github.com/repos/netsyno/rotate-backups/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netsyno/rotate-backups/merges","archive_url":"https://api.github.com/repos/netsyno/rotate-backups/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netsyno/rotate-backups/downloads","issues_url":"https://api.github.com/repos/netsyno/rotate-backups/issues{/number}","pulls_url":"https://api.github.com/repos/netsyno/rotate-backups/pulls{/number}","milestones_url":"https://api.github.com/repos/netsyno/rotate-backups/milestones{/number}","notifications_url":"https://api.github.com/repos/netsyno/rotate-backups/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netsyno/rotate-backups/labels{/name}","releases_url":"https://api.github.com/repos/netsyno/rotate-backups/releases{/id}","created_at":"2015-08-25T15:09:36Z","updated_at":"2015-08-25T15:09:39Z","pushed_at":"2015-09-15T06:52:29Z","git_url":"git://github.com/netsyno/rotate-backups.git","ssh_url":"git@github.com:netsyno/rotate-backups.git","clone_url":"https://github.com/netsyno/rotate-backups.git","svn_url":"https://github.com/netsyno/rotate-backups","homepage":"","size":116,"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":"adamfeuer:master","ref":"master","sha":"f4900e5073d195967d97b520473b8da52f9ae8c7","user":{"login":"adamfeuer","id":324915,"avatar_url":"https://avatars.githubusercontent.com/u/324915?v=3","gravatar_id":"","url":"https://api.github.com/users/adamfeuer","html_url":"https://github.com/adamfeuer","followers_url":"https://api.github.com/users/adamfeuer/followers","following_url":"https://api.github.com/users/adamfeuer/following{/other_user}","gists_url":"https://api.github.com/users/adamfeuer/gists{/gist_id}","starred_url":"https://api.github.com/users/adamfeuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamfeuer/subscriptions","organizations_url":"https://api.github.com/users/adamfeuer/orgs","repos_url":"https://api.github.com/users/adamfeuer/repos","events_url":"https://api.github.com/users/adamfeuer/events{/privacy}","received_events_url":"https://api.github.com/users/adamfeuer/received_events","type":"User","site_admin":false},"repo":{"id":1897125,"name":"rotate-backups","full_name":"adamfeuer/rotate-backups","owner":{"login":"adamfeuer","id":324915,"avatar_url":"https://avatars.githubusercontent.com/u/324915?v=3","gravatar_id":"","url":"https://api.github.com/users/adamfeuer","html_url":"https://github.com/adamfeuer","followers_url":"https://api.github.com/users/adamfeuer/followers","following_url":"https://api.github.com/users/adamfeuer/following{/other_user}","gists_url":"https://api.github.com/users/adamfeuer/gists{/gist_id}","starred_url":"https://api.github.com/users/adamfeuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamfeuer/subscriptions","organizations_url":"https://api.github.com/users/adamfeuer/orgs","repos_url":"https://api.github.com/users/adamfeuer/repos","events_url":"https://api.github.com/users/adamfeuer/events{/privacy}","received_events_url":"https://api.github.com/users/adamfeuer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamfeuer/rotate-backups","description":"Rotate Backups - keep hourly, daily, and weekly backups","fork":false,"url":"https://api.github.com/repos/adamfeuer/rotate-backups","forks_url":"https://api.github.com/repos/adamfeuer/rotate-backups/forks","keys_url":"https://api.github.com/repos/adamfeuer/rotate-backups/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamfeuer/rotate-backups/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamfeuer/rotate-backups/teams","hooks_url":"https://api.github.com/repos/adamfeuer/rotate-backups/hooks","issue_events_url":"https://api.github.com/repos/adamfeuer/rotate-backups/issues/events{/number}","events_url":"https://api.github.com/repos/adamfeuer/rotate-backups/events","assignees_url":"https://api.github.com/repos/adamfeuer/rotate-backups/assignees{/user}","branches_url":"https://api.github.com/repos/adamfeuer/rotate-backups/branches{/branch}","tags_url":"https://api.github.com/repos/adamfeuer/rotate-backups/tags","blobs_url":"https://api.github.com/repos/adamfeuer/rotate-backups/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamfeuer/rotate-backups/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamfeuer/rotate-backups/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamfeuer/rotate-backups/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamfeuer/rotate-backups/statuses/{sha}","languages_url":"https://api.github.com/repos/adamfeuer/rotate-backups/languages","stargazers_url":"https://api.github.com/repos/adamfeuer/rotate-backups/stargazers","contributors_url":"https://api.github.com/repos/adamfeuer/rotate-backups/contributors","subscribers_url":"https://api.github.com/repos/adamfeuer/rotate-backups/subscribers","subscription_url":"https://api.github.com/repos/adamfeuer/rotate-backups/subscription","commits_url":"https://api.github.com/repos/adamfeuer/rotate-backups/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamfeuer/rotate-backups/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamfeuer/rotate-backups/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamfeuer/rotate-backups/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamfeuer/rotate-backups/contents/{+path}","compare_url":"https://api.github.com/repos/adamfeuer/rotate-backups/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamfeuer/rotate-backups/merges","archive_url":"https://api.github.com/repos/adamfeuer/rotate-backups/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamfeuer/rotate-backups/downloads","issues_url":"https://api.github.com/repos/adamfeuer/rotate-backups/issues{/number}","pulls_url":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls{/number}","milestones_url":"https://api.github.com/repos/adamfeuer/rotate-backups/milestones{/number}","notifications_url":"https://api.github.com/repos/adamfeuer/rotate-backups/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamfeuer/rotate-backups/labels{/name}","releases_url":"https://api.github.com/repos/adamfeuer/rotate-backups/releases{/id}","created_at":"2011-06-14T22:19:37Z","updated_at":"2015-08-25T15:01:15Z","pushed_at":"2015-09-14T17:35:15Z","git_url":"git://github.com/adamfeuer/rotate-backups.git","ssh_url":"git@github.com:adamfeuer/rotate-backups.git","clone_url":"https://github.com/adamfeuer/rotate-backups.git","svn_url":"https://github.com/adamfeuer/rotate-backups","homepage":"","size":212,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":6,"forks":15,"open_issues":6,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/21"},"html":{"href":"https://github.com/adamfeuer/rotate-backups/pull/21"},"issue":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/issues/21"},"comments":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/adamfeuer/rotate-backups/statuses/78793ed2396813e518efce4c6d6d7675445b199c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":39,"deletions":39,"changed_files":1}}