{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/pipe_base/pulls/comments/62386874","id":62386874,"diff_hunk":"@@ -289,13 +290,15 @@ def testAtFile(self):\n     def testLogDest(self):\n         \"\"\"Test --logdest\n         \"\"\"\n-        logFile = \"tests_argumentParser_testLog_temp.txt\"\n-        self.ap.parse_args(\n-            config = self.config,\n-            args = [DataPath, \"--logdest\", logFile],\n-        )\n-        self.assertTrue(os.path.isfile(logFile))\n-        os.remove(logFile)","path":"tests/testArgumentParser.py","position":27,"original_position":27,"commit_id":"f90609a5aaedc826e5877e26b378db61199fa3f5","original_commit_id":"f90609a5aaedc826e5877e26b378db61199fa3f5","user":{"login":"timj","id":60622,"avatar_url":"https://avatars.githubusercontent.com/u/60622?v=3","gravatar_id":"","url":"https://api.github.com/users/timj","html_url":"https://github.com/timj","followers_url":"https://api.github.com/users/timj/followers","following_url":"https://api.github.com/users/timj/following{/other_user}","gists_url":"https://api.github.com/users/timj/gists{/gist_id}","starred_url":"https://api.github.com/users/timj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timj/subscriptions","organizations_url":"https://api.github.com/users/timj/orgs","repos_url":"https://api.github.com/users/timj/repos","events_url":"https://api.github.com/users/timj/events{/privacy}","received_events_url":"https://api.github.com/users/timj/received_events","type":"User","site_admin":false},"body":"I can confirm that `psutil.Process().open_files()` does not return the log file but `/usr/sbin/lsof` does list the log file as being open still.","created_at":"2016-05-06T20:31:22Z","updated_at":"2016-05-06T20:31:22Z","html_url":"https://github.com/lsst/pipe_base/pull/14#discussion_r62386874","pull_request_url":"https://api.github.com/repos/lsst/pipe_base/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/lsst/pipe_base/pulls/comments/62386874"},"html":{"href":"https://github.com/lsst/pipe_base/pull/14#discussion_r62386874"},"pull_request":{"href":"https://api.github.com/repos/lsst/pipe_base/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/pipe_base/pulls/14","id":69204606,"html_url":"https://github.com/lsst/pipe_base/pull/14","diff_url":"https://github.com/lsst/pipe_base/pull/14.diff","patch_url":"https://github.com/lsst/pipe_base/pull/14.patch","issue_url":"https://api.github.com/repos/lsst/pipe_base/issues/14","number":14,"state":"open","locked":false,"title":"Fixes for NFS","user":{"login":"timj","id":60622,"avatar_url":"https://avatars.githubusercontent.com/u/60622?v=3","gravatar_id":"","url":"https://api.github.com/users/timj","html_url":"https://github.com/timj","followers_url":"https://api.github.com/users/timj/followers","following_url":"https://api.github.com/users/timj/following{/other_user}","gists_url":"https://api.github.com/users/timj/gists{/gist_id}","starred_url":"https://api.github.com/users/timj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timj/subscriptions","organizations_url":"https://api.github.com/users/timj/orgs","repos_url":"https://api.github.com/users/timj/repos","events_url":"https://api.github.com/users/timj/events{/privacy}","received_events_url":"https://api.github.com/users/timj/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-06T20:18:57Z","updated_at":"2016-05-06T20:31:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87c5381e4aca01c0b6303ff5231d5045396753b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lsst/pipe_base/pulls/14/commits","review_comments_url":"https://api.github.com/repos/lsst/pipe_base/pulls/14/comments","review_comment_url":"https://api.github.com/repos/lsst/pipe_base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/pipe_base/issues/14/comments","statuses_url":"https://api.github.com/repos/lsst/pipe_base/statuses/f90609a5aaedc826e5877e26b378db61199fa3f5","head":{"label":"lsst:u/hfc/DM-5979","ref":"u/hfc/DM-5979","sha":"f90609a5aaedc826e5877e26b378db61199fa3f5","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013455,"name":"pipe_base","full_name":"lsst/pipe_base","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/pipe_base","description":"LSST Data Management: base classes for data processing tasks","fork":false,"url":"https://api.github.com/repos/lsst/pipe_base","forks_url":"https://api.github.com/repos/lsst/pipe_base/forks","keys_url":"https://api.github.com/repos/lsst/pipe_base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/pipe_base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/pipe_base/teams","hooks_url":"https://api.github.com/repos/lsst/pipe_base/hooks","issue_events_url":"https://api.github.com/repos/lsst/pipe_base/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/pipe_base/events","assignees_url":"https://api.github.com/repos/lsst/pipe_base/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/pipe_base/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/pipe_base/tags","blobs_url":"https://api.github.com/repos/lsst/pipe_base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/pipe_base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/pipe_base/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/pipe_base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/pipe_base/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/pipe_base/languages","stargazers_url":"https://api.github.com/repos/lsst/pipe_base/stargazers","contributors_url":"https://api.github.com/repos/lsst/pipe_base/contributors","subscribers_url":"https://api.github.com/repos/lsst/pipe_base/subscribers","subscription_url":"https://api.github.com/repos/lsst/pipe_base/subscription","commits_url":"https://api.github.com/repos/lsst/pipe_base/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/pipe_base/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/pipe_base/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/pipe_base/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/pipe_base/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/pipe_base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/pipe_base/merges","archive_url":"https://api.github.com/repos/lsst/pipe_base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/pipe_base/downloads","issues_url":"https://api.github.com/repos/lsst/pipe_base/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/pipe_base/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/pipe_base/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/pipe_base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/pipe_base/labels{/name}","releases_url":"https://api.github.com/repos/lsst/pipe_base/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/pipe_base/deployments","created_at":"2014-08-16T07:49:52Z","updated_at":"2016-03-27T04:23:22Z","pushed_at":"2016-05-06T20:18:57Z","git_url":"git://github.com/lsst/pipe_base.git","ssh_url":"git@github.com:lsst/pipe_base.git","clone_url":"https://github.com/lsst/pipe_base.git","svn_url":"https://github.com/lsst/pipe_base","homepage":"http://dm.lsst.org/","size":454,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"lsst:master","ref":"master","sha":"2d9b459d15d714d0ba75c932d891ef868d9ff52f","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013455,"name":"pipe_base","full_name":"lsst/pipe_base","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/pipe_base","description":"LSST Data Management: base classes for data processing tasks","fork":false,"url":"https://api.github.com/repos/lsst/pipe_base","forks_url":"https://api.github.com/repos/lsst/pipe_base/forks","keys_url":"https://api.github.com/repos/lsst/pipe_base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/pipe_base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/pipe_base/teams","hooks_url":"https://api.github.com/repos/lsst/pipe_base/hooks","issue_events_url":"https://api.github.com/repos/lsst/pipe_base/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/pipe_base/events","assignees_url":"https://api.github.com/repos/lsst/pipe_base/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/pipe_base/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/pipe_base/tags","blobs_url":"https://api.github.com/repos/lsst/pipe_base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/pipe_base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/pipe_base/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/pipe_base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/pipe_base/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/pipe_base/languages","stargazers_url":"https://api.github.com/repos/lsst/pipe_base/stargazers","contributors_url":"https://api.github.com/repos/lsst/pipe_base/contributors","subscribers_url":"https://api.github.com/repos/lsst/pipe_base/subscribers","subscription_url":"https://api.github.com/repos/lsst/pipe_base/subscription","commits_url":"https://api.github.com/repos/lsst/pipe_base/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/pipe_base/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/pipe_base/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/pipe_base/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/pipe_base/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/pipe_base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/pipe_base/merges","archive_url":"https://api.github.com/repos/lsst/pipe_base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/pipe_base/downloads","issues_url":"https://api.github.com/repos/lsst/pipe_base/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/pipe_base/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/pipe_base/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/pipe_base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/pipe_base/labels{/name}","releases_url":"https://api.github.com/repos/lsst/pipe_base/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/pipe_base/deployments","created_at":"2014-08-16T07:49:52Z","updated_at":"2016-03-27T04:23:22Z","pushed_at":"2016-05-06T20:18:57Z","git_url":"git://github.com/lsst/pipe_base.git","ssh_url":"git@github.com:lsst/pipe_base.git","clone_url":"https://github.com/lsst/pipe_base.git","svn_url":"https://github.com/lsst/pipe_base","homepage":"http://dm.lsst.org/","size":454,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/pipe_base/pulls/14"},"html":{"href":"https://github.com/lsst/pipe_base/pull/14"},"issue":{"href":"https://api.github.com/repos/lsst/pipe_base/issues/14"},"comments":{"href":"https://api.github.com/repos/lsst/pipe_base/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/pipe_base/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/pipe_base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/pipe_base/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/pipe_base/statuses/f90609a5aaedc826e5877e26b378db61199fa3f5"}}}}