{"action":"created","comment":{"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/comments/26182704","id":26182704,"diff_hunk":"@@ -0,0 +1,35 @@\n+#!/usr/bin/env python\n+# -*- coding: utf-8 -*-\n+\"\"\"Using the datetime module.\"\"\"\n+\n+import datetime\n+\n+CURDATE = None\n+\n+def get_current_date():\n+\n+    \n+    \"\"\"A function using the datetime.date.today()\n+    to return the current day as a date object.\n+\n+    Args: None given\n+\n+    Return:\n+        To return the current date\n+        \n+    Example:    \n+        >>> import datetime\n+        >>> task_01.CURDATE\n+        None\n+\n+        >>> task_01.get_current_date()\n+        datetime.date(2015, 3, 5)\n+        $ python -i task_01.py\n+        2015-03-05\n+    \"\"\"\n+    return datetime.date.today()\n+\n+CURDATE = get_current_date()\n+\n+if __name__ == '__main__':","path":"task_01.py","position":34,"original_position":34,"commit_id":"b8caef6b821c75dc05873d811d4e59c2f60acacd","original_commit_id":"b8caef6b821c75dc05873d811d4e59c2f60acacd","user":{"login":"cheuschober","id":1184479,"avatar_url":"https://avatars.githubusercontent.com/u/1184479?v=3","gravatar_id":"","url":"https://api.github.com/users/cheuschober","html_url":"https://github.com/cheuschober","followers_url":"https://api.github.com/users/cheuschober/followers","following_url":"https://api.github.com/users/cheuschober/following{/other_user}","gists_url":"https://api.github.com/users/cheuschober/gists{/gist_id}","starred_url":"https://api.github.com/users/cheuschober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheuschober/subscriptions","organizations_url":"https://api.github.com/users/cheuschober/orgs","repos_url":"https://api.github.com/users/cheuschober/repos","events_url":"https://api.github.com/users/cheuschober/events{/privacy}","received_events_url":"https://api.github.com/users/cheuschober/received_events","type":"User","site_admin":false},"body":"@eliz79 If you'd had line 32 inside the block at line 34 you would have aced this!","created_at":"2015-03-11T01:22:48Z","updated_at":"2015-03-11T01:22:48Z","html_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing/pull/4#discussion_r26182704","pull_request_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/comments/26182704"},"html":{"href":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing/pull/4#discussion_r26182704"},"pull_request":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4","id":30618691,"html_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing/pull/4","diff_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing/pull/4.diff","patch_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing/pull/4.patch","issue_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues/4","number":4,"state":"closed","locked":false,"title":"Week 6 Synthesizing Task","user":{"login":"eliz79","id":10748900,"avatar_url":"https://avatars.githubusercontent.com/u/10748900?v=3","gravatar_id":"","url":"https://api.github.com/users/eliz79","html_url":"https://github.com/eliz79","followers_url":"https://api.github.com/users/eliz79/followers","following_url":"https://api.github.com/users/eliz79/following{/other_user}","gists_url":"https://api.github.com/users/eliz79/gists{/gist_id}","starred_url":"https://api.github.com/users/eliz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliz79/subscriptions","organizations_url":"https://api.github.com/users/eliz79/orgs","repos_url":"https://api.github.com/users/eliz79/repos","events_url":"https://api.github.com/users/eliz79/events{/privacy}","received_events_url":"https://api.github.com/users/eliz79/received_events","type":"User","site_admin":false},"body":"Week 6 Synthesizing Task.","created_at":"2015-03-06T03:34:49Z","updated_at":"2015-03-11T01:22:48Z","closed_at":"2015-03-11T01:21:56Z","merged_at":"2015-03-11T01:21:56Z","merge_commit_sha":"15d63b1028fe091f35f8d6d1890e0bdd4ed5052c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4/commits","review_comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4/comments","review_comment_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues/4/comments","statuses_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/statuses/b8caef6b821c75dc05873d811d4e59c2f60acacd","head":{"label":"eliz79:master","ref":"master","sha":"b8caef6b821c75dc05873d811d4e59c2f60acacd","user":{"login":"eliz79","id":10748900,"avatar_url":"https://avatars.githubusercontent.com/u/10748900?v=3","gravatar_id":"","url":"https://api.github.com/users/eliz79","html_url":"https://github.com/eliz79","followers_url":"https://api.github.com/users/eliz79/followers","following_url":"https://api.github.com/users/eliz79/following{/other_user}","gists_url":"https://api.github.com/users/eliz79/gists{/gist_id}","starred_url":"https://api.github.com/users/eliz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliz79/subscriptions","organizations_url":"https://api.github.com/users/eliz79/orgs","repos_url":"https://api.github.com/users/eliz79/repos","events_url":"https://api.github.com/users/eliz79/events{/privacy}","received_events_url":"https://api.github.com/users/eliz79/received_events","type":"User","site_admin":false},"repo":{"id":31556499,"name":"is210-week-06-synthesizing","full_name":"eliz79/is210-week-06-synthesizing","owner":{"login":"eliz79","id":10748900,"avatar_url":"https://avatars.githubusercontent.com/u/10748900?v=3","gravatar_id":"","url":"https://api.github.com/users/eliz79","html_url":"https://github.com/eliz79","followers_url":"https://api.github.com/users/eliz79/followers","following_url":"https://api.github.com/users/eliz79/following{/other_user}","gists_url":"https://api.github.com/users/eliz79/gists{/gist_id}","starred_url":"https://api.github.com/users/eliz79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliz79/subscriptions","organizations_url":"https://api.github.com/users/eliz79/orgs","repos_url":"https://api.github.com/users/eliz79/repos","events_url":"https://api.github.com/users/eliz79/events{/privacy}","received_events_url":"https://api.github.com/users/eliz79/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eliz79/is210-week-06-synthesizing","description":"Week #06 Synthesizing Tasks","fork":true,"url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing","forks_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/forks","keys_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/teams","hooks_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/hooks","issue_events_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/issues/events{/number}","events_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/events","assignees_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/assignees{/user}","branches_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/branches{/branch}","tags_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/tags","blobs_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/statuses/{sha}","languages_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/languages","stargazers_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/stargazers","contributors_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/contributors","subscribers_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/subscribers","subscription_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/subscription","commits_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/contents/{+path}","compare_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/merges","archive_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/downloads","issues_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/issues{/number}","pulls_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/pulls{/number}","milestones_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/milestones{/number}","notifications_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/labels{/name}","releases_url":"https://api.github.com/repos/eliz79/is210-week-06-synthesizing/releases{/id}","created_at":"2015-03-02T18:44:39Z","updated_at":"2015-03-07T01:38:04Z","pushed_at":"2015-03-07T01:38:03Z","git_url":"git://github.com/eliz79/is210-week-06-synthesizing.git","ssh_url":"git@github.com:eliz79/is210-week-06-synthesizing.git","clone_url":"https://github.com/eliz79/is210-week-06-synthesizing.git","svn_url":"https://github.com/eliz79/is210-week-06-synthesizing","homepage":null,"size":101,"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":"is210-2015-spring-01:eliz79","ref":"eliz79","sha":"6c74450d9a31fc12d4c2db20a2b7ca4dcdcba5f1","user":{"login":"is210-2015-spring-01","id":10734022,"avatar_url":"https://avatars.githubusercontent.com/u/10734022?v=3","gravatar_id":"","url":"https://api.github.com/users/is210-2015-spring-01","html_url":"https://github.com/is210-2015-spring-01","followers_url":"https://api.github.com/users/is210-2015-spring-01/followers","following_url":"https://api.github.com/users/is210-2015-spring-01/following{/other_user}","gists_url":"https://api.github.com/users/is210-2015-spring-01/gists{/gist_id}","starred_url":"https://api.github.com/users/is210-2015-spring-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is210-2015-spring-01/subscriptions","organizations_url":"https://api.github.com/users/is210-2015-spring-01/orgs","repos_url":"https://api.github.com/users/is210-2015-spring-01/repos","events_url":"https://api.github.com/users/is210-2015-spring-01/events{/privacy}","received_events_url":"https://api.github.com/users/is210-2015-spring-01/received_events","type":"Organization","site_admin":false},"repo":{"id":31527635,"name":"is210-week-06-synthesizing","full_name":"is210-2015-spring-01/is210-week-06-synthesizing","owner":{"login":"is210-2015-spring-01","id":10734022,"avatar_url":"https://avatars.githubusercontent.com/u/10734022?v=3","gravatar_id":"","url":"https://api.github.com/users/is210-2015-spring-01","html_url":"https://github.com/is210-2015-spring-01","followers_url":"https://api.github.com/users/is210-2015-spring-01/followers","following_url":"https://api.github.com/users/is210-2015-spring-01/following{/other_user}","gists_url":"https://api.github.com/users/is210-2015-spring-01/gists{/gist_id}","starred_url":"https://api.github.com/users/is210-2015-spring-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is210-2015-spring-01/subscriptions","organizations_url":"https://api.github.com/users/is210-2015-spring-01/orgs","repos_url":"https://api.github.com/users/is210-2015-spring-01/repos","events_url":"https://api.github.com/users/is210-2015-spring-01/events{/privacy}","received_events_url":"https://api.github.com/users/is210-2015-spring-01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing","description":"Week #06 Synthesizing Tasks","fork":true,"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing","forks_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/forks","keys_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/teams","hooks_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/hooks","issue_events_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues/events{/number}","events_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/events","assignees_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/assignees{/user}","branches_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/branches{/branch}","tags_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/tags","blobs_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/git/refs{/sha}","trees_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/statuses/{sha}","languages_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/languages","stargazers_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/stargazers","contributors_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/contributors","subscribers_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/subscribers","subscription_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/subscription","commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/commits{/sha}","git_commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/git/commits{/sha}","comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/comments{/number}","issue_comment_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues/comments{/number}","contents_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/contents/{+path}","compare_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/merges","archive_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/downloads","issues_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues{/number}","pulls_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls{/number}","milestones_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/milestones{/number}","notifications_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/labels{/name}","releases_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/releases{/id}","created_at":"2015-03-02T07:06:42Z","updated_at":"2015-03-02T07:10:51Z","pushed_at":"2015-03-11T01:21:58Z","git_url":"git://github.com/is210-2015-spring-01/is210-week-06-synthesizing.git","ssh_url":"git@github.com:is210-2015-spring-01/is210-week-06-synthesizing.git","clone_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing.git","svn_url":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing","homepage":null,"size":823,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":13,"forks":16,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4"},"html":{"href":"https://github.com/is210-2015-spring-01/is210-week-06-synthesizing/pull/4"},"issue":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues/4"},"comments":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-06-synthesizing/statuses/b8caef6b821c75dc05873d811d4e59c2f60acacd"}}}}