{"action":"created","comment":{"url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/comments/56145412","id":56145412,"diff_hunk":"@@ -34,7 +34,12 @@\n import rospy\n import copy\n import threading\n-import Queue\n+\n+import sys\n+if sys.version_info[0] == 2:","path":"industrial_robot_simulator/industrial_robot_simulator","position":null,"original_position":7,"commit_id":"41b6478bd0b1a7adc0a252da03c50dacb674c572","original_commit_id":"af5404bd9fbd391d819d9abc4d0bff98403c859d","user":{"login":"de-vri-es","id":786213,"avatar_url":"https://avatars.githubusercontent.com/u/786213?v=3","gravatar_id":"","url":"https://api.github.com/users/de-vri-es","html_url":"https://github.com/de-vri-es","followers_url":"https://api.github.com/users/de-vri-es/followers","following_url":"https://api.github.com/users/de-vri-es/following{/other_user}","gists_url":"https://api.github.com/users/de-vri-es/gists{/gist_id}","starred_url":"https://api.github.com/users/de-vri-es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/de-vri-es/subscriptions","organizations_url":"https://api.github.com/users/de-vri-es/orgs","repos_url":"https://api.github.com/users/de-vri-es/repos","events_url":"https://api.github.com/users/de-vri-es/events{/privacy}","received_events_url":"https://api.github.com/users/de-vri-es/received_events","type":"User","site_admin":false},"body":"Agreed, changed.","created_at":"2016-03-15T10:56:33Z","updated_at":"2016-03-15T10:56:33Z","html_url":"https://github.com/ros-industrial/industrial_core/pull/140#discussion_r56145412","pull_request_url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/comments/56145412"},"html":{"href":"https://github.com/ros-industrial/industrial_core/pull/140#discussion_r56145412"},"pull_request":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140","id":62884621,"html_url":"https://github.com/ros-industrial/industrial_core/pull/140","diff_url":"https://github.com/ros-industrial/industrial_core/pull/140.diff","patch_url":"https://github.com/ros-industrial/industrial_core/pull/140.patch","issue_url":"https://api.github.com/repos/ros-industrial/industrial_core/issues/140","number":140,"state":"open","locked":false,"title":"Make industrial_robot_simulator python3 compatible.","user":{"login":"de-vri-es","id":786213,"avatar_url":"https://avatars.githubusercontent.com/u/786213?v=3","gravatar_id":"","url":"https://api.github.com/users/de-vri-es","html_url":"https://github.com/de-vri-es","followers_url":"https://api.github.com/users/de-vri-es/followers","following_url":"https://api.github.com/users/de-vri-es/following{/other_user}","gists_url":"https://api.github.com/users/de-vri-es/gists{/gist_id}","starred_url":"https://api.github.com/users/de-vri-es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/de-vri-es/subscriptions","organizations_url":"https://api.github.com/users/de-vri-es/orgs","repos_url":"https://api.github.com/users/de-vri-es/repos","events_url":"https://api.github.com/users/de-vri-es/events{/privacy}","received_events_url":"https://api.github.com/users/de-vri-es/received_events","type":"User","site_admin":false},"body":"This PR makes two minor changes to make the industrial robot simulator compatible with python3. There should be no functional changes at all for python 2.\r\n\r\nI only had to swap `operator <>` with `operator !=` and import the `Queue` as `queue` in python 3.","created_at":"2016-03-15T10:38:23Z","updated_at":"2016-03-15T10:56:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74e2bc682306eb1f695c1b2ef075dfe89c6be01a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140/commits","review_comments_url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140/comments","review_comment_url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ros-industrial/industrial_core/issues/140/comments","statuses_url":"https://api.github.com/repos/ros-industrial/industrial_core/statuses/41b6478bd0b1a7adc0a252da03c50dacb674c572","head":{"label":"delftrobotics:python3-industrial-robot-simulator","ref":"python3-industrial-robot-simulator","sha":"41b6478bd0b1a7adc0a252da03c50dacb674c572","user":{"login":"delftrobotics","id":14974733,"avatar_url":"https://avatars.githubusercontent.com/u/14974733?v=3","gravatar_id":"","url":"https://api.github.com/users/delftrobotics","html_url":"https://github.com/delftrobotics","followers_url":"https://api.github.com/users/delftrobotics/followers","following_url":"https://api.github.com/users/delftrobotics/following{/other_user}","gists_url":"https://api.github.com/users/delftrobotics/gists{/gist_id}","starred_url":"https://api.github.com/users/delftrobotics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delftrobotics/subscriptions","organizations_url":"https://api.github.com/users/delftrobotics/orgs","repos_url":"https://api.github.com/users/delftrobotics/repos","events_url":"https://api.github.com/users/delftrobotics/events{/privacy}","received_events_url":"https://api.github.com/users/delftrobotics/received_events","type":"Organization","site_admin":false},"repo":{"id":53935679,"name":"industrial_core","full_name":"delftrobotics/industrial_core","owner":{"login":"delftrobotics","id":14974733,"avatar_url":"https://avatars.githubusercontent.com/u/14974733?v=3","gravatar_id":"","url":"https://api.github.com/users/delftrobotics","html_url":"https://github.com/delftrobotics","followers_url":"https://api.github.com/users/delftrobotics/followers","following_url":"https://api.github.com/users/delftrobotics/following{/other_user}","gists_url":"https://api.github.com/users/delftrobotics/gists{/gist_id}","starred_url":"https://api.github.com/users/delftrobotics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delftrobotics/subscriptions","organizations_url":"https://api.github.com/users/delftrobotics/orgs","repos_url":"https://api.github.com/users/delftrobotics/repos","events_url":"https://api.github.com/users/delftrobotics/events{/privacy}","received_events_url":"https://api.github.com/users/delftrobotics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/delftrobotics/industrial_core","description":"ROS-Industrial core meta-package.  http://ros.org/wiki/industrial_core","fork":true,"url":"https://api.github.com/repos/delftrobotics/industrial_core","forks_url":"https://api.github.com/repos/delftrobotics/industrial_core/forks","keys_url":"https://api.github.com/repos/delftrobotics/industrial_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/delftrobotics/industrial_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/delftrobotics/industrial_core/teams","hooks_url":"https://api.github.com/repos/delftrobotics/industrial_core/hooks","issue_events_url":"https://api.github.com/repos/delftrobotics/industrial_core/issues/events{/number}","events_url":"https://api.github.com/repos/delftrobotics/industrial_core/events","assignees_url":"https://api.github.com/repos/delftrobotics/industrial_core/assignees{/user}","branches_url":"https://api.github.com/repos/delftrobotics/industrial_core/branches{/branch}","tags_url":"https://api.github.com/repos/delftrobotics/industrial_core/tags","blobs_url":"https://api.github.com/repos/delftrobotics/industrial_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/delftrobotics/industrial_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/delftrobotics/industrial_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/delftrobotics/industrial_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/delftrobotics/industrial_core/statuses/{sha}","languages_url":"https://api.github.com/repos/delftrobotics/industrial_core/languages","stargazers_url":"https://api.github.com/repos/delftrobotics/industrial_core/stargazers","contributors_url":"https://api.github.com/repos/delftrobotics/industrial_core/contributors","subscribers_url":"https://api.github.com/repos/delftrobotics/industrial_core/subscribers","subscription_url":"https://api.github.com/repos/delftrobotics/industrial_core/subscription","commits_url":"https://api.github.com/repos/delftrobotics/industrial_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/delftrobotics/industrial_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/delftrobotics/industrial_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/delftrobotics/industrial_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/delftrobotics/industrial_core/contents/{+path}","compare_url":"https://api.github.com/repos/delftrobotics/industrial_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/delftrobotics/industrial_core/merges","archive_url":"https://api.github.com/repos/delftrobotics/industrial_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/delftrobotics/industrial_core/downloads","issues_url":"https://api.github.com/repos/delftrobotics/industrial_core/issues{/number}","pulls_url":"https://api.github.com/repos/delftrobotics/industrial_core/pulls{/number}","milestones_url":"https://api.github.com/repos/delftrobotics/industrial_core/milestones{/number}","notifications_url":"https://api.github.com/repos/delftrobotics/industrial_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/delftrobotics/industrial_core/labels{/name}","releases_url":"https://api.github.com/repos/delftrobotics/industrial_core/releases{/id}","deployments_url":"https://api.github.com/repos/delftrobotics/industrial_core/deployments","created_at":"2016-03-15T10:31:49Z","updated_at":"2016-03-15T10:31:50Z","pushed_at":"2016-03-15T10:54:35Z","git_url":"git://github.com/delftrobotics/industrial_core.git","ssh_url":"git@github.com:delftrobotics/industrial_core.git","clone_url":"https://github.com/delftrobotics/industrial_core.git","svn_url":"https://github.com/delftrobotics/industrial_core","homepage":"","size":943,"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":"indigo-devel"}},"base":{"label":"ros-industrial:indigo-devel","ref":"indigo-devel","sha":"da0a0654019c57680891ba739e0a438bd1a757bc","user":{"login":"ros-industrial","id":2932528,"avatar_url":"https://avatars.githubusercontent.com/u/2932528?v=3","gravatar_id":"","url":"https://api.github.com/users/ros-industrial","html_url":"https://github.com/ros-industrial","followers_url":"https://api.github.com/users/ros-industrial/followers","following_url":"https://api.github.com/users/ros-industrial/following{/other_user}","gists_url":"https://api.github.com/users/ros-industrial/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-industrial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-industrial/subscriptions","organizations_url":"https://api.github.com/users/ros-industrial/orgs","repos_url":"https://api.github.com/users/ros-industrial/repos","events_url":"https://api.github.com/users/ros-industrial/events{/privacy}","received_events_url":"https://api.github.com/users/ros-industrial/received_events","type":"Organization","site_admin":false},"repo":{"id":10469184,"name":"industrial_core","full_name":"ros-industrial/industrial_core","owner":{"login":"ros-industrial","id":2932528,"avatar_url":"https://avatars.githubusercontent.com/u/2932528?v=3","gravatar_id":"","url":"https://api.github.com/users/ros-industrial","html_url":"https://github.com/ros-industrial","followers_url":"https://api.github.com/users/ros-industrial/followers","following_url":"https://api.github.com/users/ros-industrial/following{/other_user}","gists_url":"https://api.github.com/users/ros-industrial/gists{/gist_id}","starred_url":"https://api.github.com/users/ros-industrial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros-industrial/subscriptions","organizations_url":"https://api.github.com/users/ros-industrial/orgs","repos_url":"https://api.github.com/users/ros-industrial/repos","events_url":"https://api.github.com/users/ros-industrial/events{/privacy}","received_events_url":"https://api.github.com/users/ros-industrial/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ros-industrial/industrial_core","description":"ROS-Industrial core meta-package.  http://ros.org/wiki/industrial_core","fork":false,"url":"https://api.github.com/repos/ros-industrial/industrial_core","forks_url":"https://api.github.com/repos/ros-industrial/industrial_core/forks","keys_url":"https://api.github.com/repos/ros-industrial/industrial_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ros-industrial/industrial_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ros-industrial/industrial_core/teams","hooks_url":"https://api.github.com/repos/ros-industrial/industrial_core/hooks","issue_events_url":"https://api.github.com/repos/ros-industrial/industrial_core/issues/events{/number}","events_url":"https://api.github.com/repos/ros-industrial/industrial_core/events","assignees_url":"https://api.github.com/repos/ros-industrial/industrial_core/assignees{/user}","branches_url":"https://api.github.com/repos/ros-industrial/industrial_core/branches{/branch}","tags_url":"https://api.github.com/repos/ros-industrial/industrial_core/tags","blobs_url":"https://api.github.com/repos/ros-industrial/industrial_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ros-industrial/industrial_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ros-industrial/industrial_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ros-industrial/industrial_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ros-industrial/industrial_core/statuses/{sha}","languages_url":"https://api.github.com/repos/ros-industrial/industrial_core/languages","stargazers_url":"https://api.github.com/repos/ros-industrial/industrial_core/stargazers","contributors_url":"https://api.github.com/repos/ros-industrial/industrial_core/contributors","subscribers_url":"https://api.github.com/repos/ros-industrial/industrial_core/subscribers","subscription_url":"https://api.github.com/repos/ros-industrial/industrial_core/subscription","commits_url":"https://api.github.com/repos/ros-industrial/industrial_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ros-industrial/industrial_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ros-industrial/industrial_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ros-industrial/industrial_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ros-industrial/industrial_core/contents/{+path}","compare_url":"https://api.github.com/repos/ros-industrial/industrial_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ros-industrial/industrial_core/merges","archive_url":"https://api.github.com/repos/ros-industrial/industrial_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ros-industrial/industrial_core/downloads","issues_url":"https://api.github.com/repos/ros-industrial/industrial_core/issues{/number}","pulls_url":"https://api.github.com/repos/ros-industrial/industrial_core/pulls{/number}","milestones_url":"https://api.github.com/repos/ros-industrial/industrial_core/milestones{/number}","notifications_url":"https://api.github.com/repos/ros-industrial/industrial_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ros-industrial/industrial_core/labels{/name}","releases_url":"https://api.github.com/repos/ros-industrial/industrial_core/releases{/id}","deployments_url":"https://api.github.com/repos/ros-industrial/industrial_core/deployments","created_at":"2013-06-04T02:13:33Z","updated_at":"2016-02-17T14:22:08Z","pushed_at":"2016-03-15T10:54:35Z","git_url":"git://github.com/ros-industrial/industrial_core.git","ssh_url":"git@github.com:ros-industrial/industrial_core.git","clone_url":"https://github.com/ros-industrial/industrial_core.git","svn_url":"https://github.com/ros-industrial/industrial_core","homepage":"","size":1124,"stargazers_count":16,"watchers_count":16,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":34,"forks":43,"open_issues":34,"watchers":16,"default_branch":"indigo-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140"},"html":{"href":"https://github.com/ros-industrial/industrial_core/pull/140"},"issue":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/issues/140"},"comments":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/ros-industrial/industrial_core/statuses/41b6478bd0b1a7adc0a252da03c50dacb674c572"}}}}