{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/comments/26034274","id":26034274,"diff_hunk":"@@ -39,7 +39,6 @@\n )\n from pydocx.wordml import WordprocessingDocument\n \n-logging.basicConfig(level=logging.DEBUG)","path":"pydocx/DocxParser.py","position":4,"original_position":4,"commit_id":"012c2e888feef267ae3fbf8ea25f2538152cbcbd","original_commit_id":"012c2e888feef267ae3fbf8ea25f2538152cbcbd","user":{"login":"winhamwr","id":56973,"avatar_url":"https://avatars.githubusercontent.com/u/56973?v=3","gravatar_id":"","url":"https://api.github.com/users/winhamwr","html_url":"https://github.com/winhamwr","followers_url":"https://api.github.com/users/winhamwr/followers","following_url":"https://api.github.com/users/winhamwr/following{/other_user}","gists_url":"https://api.github.com/users/winhamwr/gists{/gist_id}","starred_url":"https://api.github.com/users/winhamwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winhamwr/subscriptions","organizations_url":"https://api.github.com/users/winhamwr/orgs","repos_url":"https://api.github.com/users/winhamwr/repos","events_url":"https://api.github.com/users/winhamwr/events{/privacy}","received_events_url":"https://api.github.com/users/winhamwr/received_events","type":"User","site_admin":false},"body":"This should be moved to being called inside [main](https://github.com/CenterForOpenScience/pydocx/blob/master/pydocx/__init__.py#L22). We want to config the logger for CLI usage, still.","created_at":"2015-03-09T13:23:27Z","updated_at":"2015-03-09T13:23:27Z","html_url":"https://github.com/CenterForOpenScience/pydocx/pull/110#discussion_r26034274","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/comments/26034274"},"html":{"href":"https://github.com/CenterForOpenScience/pydocx/pull/110#discussion_r26034274"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110","id":30684591,"html_url":"https://github.com/CenterForOpenScience/pydocx/pull/110","diff_url":"https://github.com/CenterForOpenScience/pydocx/pull/110.diff","patch_url":"https://github.com/CenterForOpenScience/pydocx/pull/110.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues/110","number":110,"state":"open","locked":false,"title":"Update PyDocX for greater usability as 3rd-party library","user":{"login":"mfraezz","id":5659262,"avatar_url":"https://avatars.githubusercontent.com/u/5659262?v=3","gravatar_id":"","url":"https://api.github.com/users/mfraezz","html_url":"https://github.com/mfraezz","followers_url":"https://api.github.com/users/mfraezz/followers","following_url":"https://api.github.com/users/mfraezz/following{/other_user}","gists_url":"https://api.github.com/users/mfraezz/gists{/gist_id}","starred_url":"https://api.github.com/users/mfraezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfraezz/subscriptions","organizations_url":"https://api.github.com/users/mfraezz/orgs","repos_url":"https://api.github.com/users/mfraezz/repos","events_url":"https://api.github.com/users/mfraezz/events{/privacy}","received_events_url":"https://api.github.com/users/mfraezz/received_events","type":"User","site_admin":false},"body":"Purpose\r\n=======\r\nRemove possible logging redundancy, increase flexibility in parsing as html\r\n\r\nChanges\r\n=======\r\n* Remove `logging.basicConfig()`\r\n  - This was causing duplicate werkzeug logs in the OSF\r\n* Add property `parsed_without_head()`\r\n  - Having more than one `<header>` or `<footer>` tag per page isn't allowed, breaks page\r\n\r\nSide Effects\r\n==========\r\n`logger.log()`'s will have to be added for continued logging.","created_at":"2015-03-06T22:16:26Z","updated_at":"2015-03-09T13:23:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"24fbf890b6fd51ad9cb9b7644d61ed3bbcd20fee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues/110/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/statuses/012c2e888feef267ae3fbf8ea25f2538152cbcbd","head":{"label":"mfraezz:feature/update","ref":"feature/update","sha":"012c2e888feef267ae3fbf8ea25f2538152cbcbd","user":{"login":"mfraezz","id":5659262,"avatar_url":"https://avatars.githubusercontent.com/u/5659262?v=3","gravatar_id":"","url":"https://api.github.com/users/mfraezz","html_url":"https://github.com/mfraezz","followers_url":"https://api.github.com/users/mfraezz/followers","following_url":"https://api.github.com/users/mfraezz/following{/other_user}","gists_url":"https://api.github.com/users/mfraezz/gists{/gist_id}","starred_url":"https://api.github.com/users/mfraezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfraezz/subscriptions","organizations_url":"https://api.github.com/users/mfraezz/orgs","repos_url":"https://api.github.com/users/mfraezz/repos","events_url":"https://api.github.com/users/mfraezz/events{/privacy}","received_events_url":"https://api.github.com/users/mfraezz/received_events","type":"User","site_admin":false},"repo":{"id":27925781,"name":"pydocx","full_name":"mfraezz/pydocx","owner":{"login":"mfraezz","id":5659262,"avatar_url":"https://avatars.githubusercontent.com/u/5659262?v=3","gravatar_id":"","url":"https://api.github.com/users/mfraezz","html_url":"https://github.com/mfraezz","followers_url":"https://api.github.com/users/mfraezz/followers","following_url":"https://api.github.com/users/mfraezz/following{/other_user}","gists_url":"https://api.github.com/users/mfraezz/gists{/gist_id}","starred_url":"https://api.github.com/users/mfraezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfraezz/subscriptions","organizations_url":"https://api.github.com/users/mfraezz/orgs","repos_url":"https://api.github.com/users/mfraezz/repos","events_url":"https://api.github.com/users/mfraezz/events{/privacy}","received_events_url":"https://api.github.com/users/mfraezz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfraezz/pydocx","description":"An extendable docx file format parser and converter","fork":true,"url":"https://api.github.com/repos/mfraezz/pydocx","forks_url":"https://api.github.com/repos/mfraezz/pydocx/forks","keys_url":"https://api.github.com/repos/mfraezz/pydocx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfraezz/pydocx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfraezz/pydocx/teams","hooks_url":"https://api.github.com/repos/mfraezz/pydocx/hooks","issue_events_url":"https://api.github.com/repos/mfraezz/pydocx/issues/events{/number}","events_url":"https://api.github.com/repos/mfraezz/pydocx/events","assignees_url":"https://api.github.com/repos/mfraezz/pydocx/assignees{/user}","branches_url":"https://api.github.com/repos/mfraezz/pydocx/branches{/branch}","tags_url":"https://api.github.com/repos/mfraezz/pydocx/tags","blobs_url":"https://api.github.com/repos/mfraezz/pydocx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfraezz/pydocx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfraezz/pydocx/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfraezz/pydocx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfraezz/pydocx/statuses/{sha}","languages_url":"https://api.github.com/repos/mfraezz/pydocx/languages","stargazers_url":"https://api.github.com/repos/mfraezz/pydocx/stargazers","contributors_url":"https://api.github.com/repos/mfraezz/pydocx/contributors","subscribers_url":"https://api.github.com/repos/mfraezz/pydocx/subscribers","subscription_url":"https://api.github.com/repos/mfraezz/pydocx/subscription","commits_url":"https://api.github.com/repos/mfraezz/pydocx/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfraezz/pydocx/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfraezz/pydocx/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfraezz/pydocx/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfraezz/pydocx/contents/{+path}","compare_url":"https://api.github.com/repos/mfraezz/pydocx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfraezz/pydocx/merges","archive_url":"https://api.github.com/repos/mfraezz/pydocx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfraezz/pydocx/downloads","issues_url":"https://api.github.com/repos/mfraezz/pydocx/issues{/number}","pulls_url":"https://api.github.com/repos/mfraezz/pydocx/pulls{/number}","milestones_url":"https://api.github.com/repos/mfraezz/pydocx/milestones{/number}","notifications_url":"https://api.github.com/repos/mfraezz/pydocx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfraezz/pydocx/labels{/name}","releases_url":"https://api.github.com/repos/mfraezz/pydocx/releases{/id}","created_at":"2014-12-12T15:25:17Z","updated_at":"2014-12-12T17:30:26Z","pushed_at":"2015-03-06T22:01:06Z","git_url":"git://github.com/mfraezz/pydocx.git","ssh_url":"git@github.com:mfraezz/pydocx.git","clone_url":"https://github.com/mfraezz/pydocx.git","svn_url":"https://github.com/mfraezz/pydocx","homepage":"","size":2171,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CenterForOpenScience:master","ref":"master","sha":"a27dec932566c759aba26b76eea277da1d47b88f","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":7815433,"name":"pydocx","full_name":"CenterForOpenScience/pydocx","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/pydocx","description":"An extendable docx file format parser and converter","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/pydocx","forks_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/pydocx/releases{/id}","created_at":"2013-01-25T07:08:47Z","updated_at":"2015-02-23T18:54:18Z","pushed_at":"2015-01-05T22:00:21Z","git_url":"git://github.com/CenterForOpenScience/pydocx.git","ssh_url":"git@github.com:CenterForOpenScience/pydocx.git","clone_url":"https://github.com/CenterForOpenScience/pydocx.git","svn_url":"https://github.com/CenterForOpenScience/pydocx","homepage":"","size":3693,"stargazers_count":51,"watchers_count":51,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":18,"forks":18,"open_issues":18,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110"},"html":{"href":"https://github.com/CenterForOpenScience/pydocx/pull/110"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues/110"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/pydocx/statuses/012c2e888feef267ae3fbf8ea25f2538152cbcbd"}}}}