{"action":"created","comment":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/comments/63347458","id":63347458,"diff_hunk":"@@ -121,95 +130,97 @@ def kill_tasks():\n # clean up processes at exit:\n atexit.register(kill_tasks)\n \n+\n def check_jsbsim_version():\n-    '''assert that the JSBSim we will run is the one we expect to run'''\n+    \"\"\"Assert that the JSBSim we will run is the one we expect to run\"\"\"\n     jsbsim_cmd = [\"JSBSim\", \"--version\"]\n     progress_cmd(\"Get JSBSim version\", jsbsim_cmd)\n     try:\n         jsbsim_version = subprocess.Popen(jsbsim_cmd, stdout=subprocess.PIPE).communicate()[0]\n     except OSError as e:\n-        jsbsim_version = '' # this value will trigger the \".index\"\n-                            # check below and produce a reasonable\n-                            # error message\n+        jsbsim_version = ''  # this value will trigger the \".index\"\n+        # check below and produce a reasonable","path":"Tools/autotest/sim_vehicle.py","position":171,"original_position":150,"commit_id":"f9567590d518d71be89915a924f4f623756810aa","original_commit_id":"c204459c1ce47e33e8c7733ebd7749b15389852e","user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"body":"I agree that it seems less clear ... sometimes we need to break rules I think ","created_at":"2016-05-16T12:51:03Z","updated_at":"2016-05-16T12:51:03Z","html_url":"https://github.com/ArduPilot/ardupilot/pull/4092#discussion_r63347458","pull_request_url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092","_links":{"self":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/comments/63347458"},"html":{"href":"https://github.com/ArduPilot/ardupilot/pull/4092#discussion_r63347458"},"pull_request":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092"}}},"pull_request":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092","id":69697327,"html_url":"https://github.com/ArduPilot/ardupilot/pull/4092","diff_url":"https://github.com/ArduPilot/ardupilot/pull/4092.diff","patch_url":"https://github.com/ArduPilot/ardupilot/pull/4092.patch","issue_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4092","number":4092,"state":"open","locked":false,"title":"sim_vehicle.py : coding style correction","user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"body":"using pep8 and pylint","created_at":"2016-05-11T15:57:27Z","updated_at":"2016-05-16T12:51:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c27224aa79425deb7e174e4768bb51ee5ac97e39","assignee":{"login":"peterbarker","id":7077857,"avatar_url":"https://avatars.githubusercontent.com/u/7077857?v=3","gravatar_id":"","url":"https://api.github.com/users/peterbarker","html_url":"https://github.com/peterbarker","followers_url":"https://api.github.com/users/peterbarker/followers","following_url":"https://api.github.com/users/peterbarker/following{/other_user}","gists_url":"https://api.github.com/users/peterbarker/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbarker/subscriptions","organizations_url":"https://api.github.com/users/peterbarker/orgs","repos_url":"https://api.github.com/users/peterbarker/repos","events_url":"https://api.github.com/users/peterbarker/events{/privacy}","received_events_url":"https://api.github.com/users/peterbarker/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092/commits","review_comments_url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092/comments","review_comment_url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4092/comments","statuses_url":"https://api.github.com/repos/ArduPilot/ardupilot/statuses/f9567590d518d71be89915a924f4f623756810aa","head":{"label":"khancyr:patch-10","ref":"patch-10","sha":"f9567590d518d71be89915a924f4f623756810aa","user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"repo":{"id":38307533,"name":"ardupilot","full_name":"khancyr/ardupilot","owner":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/khancyr/ardupilot","description":"APM Plane, APM Copter, APM Rover source","fork":true,"url":"https://api.github.com/repos/khancyr/ardupilot","forks_url":"https://api.github.com/repos/khancyr/ardupilot/forks","keys_url":"https://api.github.com/repos/khancyr/ardupilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/khancyr/ardupilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/khancyr/ardupilot/teams","hooks_url":"https://api.github.com/repos/khancyr/ardupilot/hooks","issue_events_url":"https://api.github.com/repos/khancyr/ardupilot/issues/events{/number}","events_url":"https://api.github.com/repos/khancyr/ardupilot/events","assignees_url":"https://api.github.com/repos/khancyr/ardupilot/assignees{/user}","branches_url":"https://api.github.com/repos/khancyr/ardupilot/branches{/branch}","tags_url":"https://api.github.com/repos/khancyr/ardupilot/tags","blobs_url":"https://api.github.com/repos/khancyr/ardupilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/khancyr/ardupilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/khancyr/ardupilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/khancyr/ardupilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/khancyr/ardupilot/statuses/{sha}","languages_url":"https://api.github.com/repos/khancyr/ardupilot/languages","stargazers_url":"https://api.github.com/repos/khancyr/ardupilot/stargazers","contributors_url":"https://api.github.com/repos/khancyr/ardupilot/contributors","subscribers_url":"https://api.github.com/repos/khancyr/ardupilot/subscribers","subscription_url":"https://api.github.com/repos/khancyr/ardupilot/subscription","commits_url":"https://api.github.com/repos/khancyr/ardupilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/khancyr/ardupilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/khancyr/ardupilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/khancyr/ardupilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/khancyr/ardupilot/contents/{+path}","compare_url":"https://api.github.com/repos/khancyr/ardupilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/khancyr/ardupilot/merges","archive_url":"https://api.github.com/repos/khancyr/ardupilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/khancyr/ardupilot/downloads","issues_url":"https://api.github.com/repos/khancyr/ardupilot/issues{/number}","pulls_url":"https://api.github.com/repos/khancyr/ardupilot/pulls{/number}","milestones_url":"https://api.github.com/repos/khancyr/ardupilot/milestones{/number}","notifications_url":"https://api.github.com/repos/khancyr/ardupilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/khancyr/ardupilot/labels{/name}","releases_url":"https://api.github.com/repos/khancyr/ardupilot/releases{/id}","deployments_url":"https://api.github.com/repos/khancyr/ardupilot/deployments","created_at":"2015-06-30T12:19:53Z","updated_at":"2016-01-14T08:47:43Z","pushed_at":"2016-05-16T10:41:38Z","git_url":"git://github.com/khancyr/ardupilot.git","ssh_url":"git@github.com:khancyr/ardupilot.git","clone_url":"https://github.com/khancyr/ardupilot.git","svn_url":"https://github.com/khancyr/ardupilot","homepage":"http://ardupilot.com/","size":73183,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"ArduPilot:master","ref":"master","sha":"27e7c870ed99475a043acce9de67d012770fbb0b","user":{"login":"ArduPilot","id":17919847,"avatar_url":"https://avatars.githubusercontent.com/u/17919847?v=3","gravatar_id":"","url":"https://api.github.com/users/ArduPilot","html_url":"https://github.com/ArduPilot","followers_url":"https://api.github.com/users/ArduPilot/followers","following_url":"https://api.github.com/users/ArduPilot/following{/other_user}","gists_url":"https://api.github.com/users/ArduPilot/gists{/gist_id}","starred_url":"https://api.github.com/users/ArduPilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArduPilot/subscriptions","organizations_url":"https://api.github.com/users/ArduPilot/orgs","repos_url":"https://api.github.com/users/ArduPilot/repos","events_url":"https://api.github.com/users/ArduPilot/events{/privacy}","received_events_url":"https://api.github.com/users/ArduPilot/received_events","type":"Organization","site_admin":false},"repo":{"id":7512484,"name":"ardupilot","full_name":"ArduPilot/ardupilot","owner":{"login":"ArduPilot","id":17919847,"avatar_url":"https://avatars.githubusercontent.com/u/17919847?v=3","gravatar_id":"","url":"https://api.github.com/users/ArduPilot","html_url":"https://github.com/ArduPilot","followers_url":"https://api.github.com/users/ArduPilot/followers","following_url":"https://api.github.com/users/ArduPilot/following{/other_user}","gists_url":"https://api.github.com/users/ArduPilot/gists{/gist_id}","starred_url":"https://api.github.com/users/ArduPilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArduPilot/subscriptions","organizations_url":"https://api.github.com/users/ArduPilot/orgs","repos_url":"https://api.github.com/users/ArduPilot/repos","events_url":"https://api.github.com/users/ArduPilot/events{/privacy}","received_events_url":"https://api.github.com/users/ArduPilot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ArduPilot/ardupilot","description":"ArduPlane, ArduCopter, ArduRover source","fork":false,"url":"https://api.github.com/repos/ArduPilot/ardupilot","forks_url":"https://api.github.com/repos/ArduPilot/ardupilot/forks","keys_url":"https://api.github.com/repos/ArduPilot/ardupilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArduPilot/ardupilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArduPilot/ardupilot/teams","hooks_url":"https://api.github.com/repos/ArduPilot/ardupilot/hooks","issue_events_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/events{/number}","events_url":"https://api.github.com/repos/ArduPilot/ardupilot/events","assignees_url":"https://api.github.com/repos/ArduPilot/ardupilot/assignees{/user}","branches_url":"https://api.github.com/repos/ArduPilot/ardupilot/branches{/branch}","tags_url":"https://api.github.com/repos/ArduPilot/ardupilot/tags","blobs_url":"https://api.github.com/repos/ArduPilot/ardupilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArduPilot/ardupilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArduPilot/ardupilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArduPilot/ardupilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArduPilot/ardupilot/statuses/{sha}","languages_url":"https://api.github.com/repos/ArduPilot/ardupilot/languages","stargazers_url":"https://api.github.com/repos/ArduPilot/ardupilot/stargazers","contributors_url":"https://api.github.com/repos/ArduPilot/ardupilot/contributors","subscribers_url":"https://api.github.com/repos/ArduPilot/ardupilot/subscribers","subscription_url":"https://api.github.com/repos/ArduPilot/ardupilot/subscription","commits_url":"https://api.github.com/repos/ArduPilot/ardupilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArduPilot/ardupilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArduPilot/ardupilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArduPilot/ardupilot/contents/{+path}","compare_url":"https://api.github.com/repos/ArduPilot/ardupilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArduPilot/ardupilot/merges","archive_url":"https://api.github.com/repos/ArduPilot/ardupilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArduPilot/ardupilot/downloads","issues_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues{/number}","pulls_url":"https://api.github.com/repos/ArduPilot/ardupilot/pulls{/number}","milestones_url":"https://api.github.com/repos/ArduPilot/ardupilot/milestones{/number}","notifications_url":"https://api.github.com/repos/ArduPilot/ardupilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArduPilot/ardupilot/labels{/name}","releases_url":"https://api.github.com/repos/ArduPilot/ardupilot/releases{/id}","deployments_url":"https://api.github.com/repos/ArduPilot/ardupilot/deployments","created_at":"2013-01-09T00:58:52Z","updated_at":"2016-05-15T13:28:40Z","pushed_at":"2016-05-16T10:41:39Z","git_url":"git://github.com/ArduPilot/ardupilot.git","ssh_url":"git@github.com:ArduPilot/ardupilot.git","clone_url":"https://github.com/ArduPilot/ardupilot.git","svn_url":"https://github.com/ArduPilot/ardupilot","homepage":"http://ardupilot.org/","size":132894,"stargazers_count":1847,"watchers_count":1847,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3892,"mirror_url":null,"open_issues_count":736,"forks":3892,"open_issues":736,"watchers":1847,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092"},"html":{"href":"https://github.com/ArduPilot/ardupilot/pull/4092"},"issue":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4092"},"comments":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4092/comments"},"review_comments":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092/comments"},"review_comment":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/pulls/4092/commits"},"statuses":{"href":"https://api.github.com/repos/ArduPilot/ardupilot/statuses/f9567590d518d71be89915a924f4f623756810aa"}}}}