{"action":"created","comment":{"url":"https://api.github.com/repos/aparraga/braviarc/pulls/comments/87049063","pull_request_review_id":7675314,"id":87049063,"diff_hunk":"@@ -146,6 +146,23 @@ def send_command(self, command):\n         \"\"\"Sends a command to the TV.\"\"\"\n         self.send_req_ircc(self.get_command_code(command))\n \n+    def get_source(self, source):\n+        \"\"\"Returns list of Sources\"\"\"\n+        original_content_list = []\n+        stIdx = 0\n+        while True:","path":"braviarc/braviarc.py","position":8,"original_position":8,"commit_id":"a85fccbb86aa55859bd05d86f72170390e1bbe2a","original_commit_id":"a85fccbb86aa55859bd05d86f72170390e1bbe2a","user":{"login":"aparraga","id":1303776,"avatar_url":"https://avatars.githubusercontent.com/u/1303776?v=3","gravatar_id":"","url":"https://api.github.com/users/aparraga","html_url":"https://github.com/aparraga","followers_url":"https://api.github.com/users/aparraga/followers","following_url":"https://api.github.com/users/aparraga/following{/other_user}","gists_url":"https://api.github.com/users/aparraga/gists{/gist_id}","starred_url":"https://api.github.com/users/aparraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparraga/subscriptions","organizations_url":"https://api.github.com/users/aparraga/orgs","repos_url":"https://api.github.com/users/aparraga/repos","events_url":"https://api.github.com/users/aparraga/events{/privacy}","received_events_url":"https://api.github.com/users/aparraga/received_events","type":"User","site_admin":false},"body":"we have to avoid infinite loops + breaks. are u able to refactor this loop with a termination condition instead of breaks here and there?","created_at":"2016-11-08T18:10:38Z","updated_at":"2016-11-08T18:11:03Z","html_url":"https://github.com/aparraga/braviarc/pull/9#discussion_r87049063","pull_request_url":"https://api.github.com/repos/aparraga/braviarc/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/aparraga/braviarc/pulls/comments/87049063"},"html":{"href":"https://github.com/aparraga/braviarc/pull/9#discussion_r87049063"},"pull_request":{"href":"https://api.github.com/repos/aparraga/braviarc/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/aparraga/braviarc/pulls/9","id":92822202,"html_url":"https://github.com/aparraga/braviarc/pull/9","diff_url":"https://github.com/aparraga/braviarc/pull/9.diff","patch_url":"https://github.com/aparraga/braviarc/pull/9.patch","issue_url":"https://api.github.com/repos/aparraga/braviarc/issues/9","number":9,"state":"open","locked":false,"title":"Fixing the limit of 50 sources getting the source list","user":{"login":"trunet","id":199800,"avatar_url":"https://avatars.githubusercontent.com/u/199800?v=3","gravatar_id":"","url":"https://api.github.com/users/trunet","html_url":"https://github.com/trunet","followers_url":"https://api.github.com/users/trunet/followers","following_url":"https://api.github.com/users/trunet/following{/other_user}","gists_url":"https://api.github.com/users/trunet/gists{/gist_id}","starred_url":"https://api.github.com/users/trunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trunet/subscriptions","organizations_url":"https://api.github.com/users/trunet/orgs","repos_url":"https://api.github.com/users/trunet/repos","events_url":"https://api.github.com/users/trunet/events{/privacy}","received_events_url":"https://api.github.com/users/trunet/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-08T17:23:45Z","updated_at":"2016-11-08T18:11:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcce02acee22f07b54ea95a75729e3eb2dc4cd77","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aparraga/braviarc/pulls/9/commits","review_comments_url":"https://api.github.com/repos/aparraga/braviarc/pulls/9/comments","review_comment_url":"https://api.github.com/repos/aparraga/braviarc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aparraga/braviarc/issues/9/comments","statuses_url":"https://api.github.com/repos/aparraga/braviarc/statuses/a85fccbb86aa55859bd05d86f72170390e1bbe2a","head":{"label":"trunet:master","ref":"master","sha":"a85fccbb86aa55859bd05d86f72170390e1bbe2a","user":{"login":"trunet","id":199800,"avatar_url":"https://avatars.githubusercontent.com/u/199800?v=3","gravatar_id":"","url":"https://api.github.com/users/trunet","html_url":"https://github.com/trunet","followers_url":"https://api.github.com/users/trunet/followers","following_url":"https://api.github.com/users/trunet/following{/other_user}","gists_url":"https://api.github.com/users/trunet/gists{/gist_id}","starred_url":"https://api.github.com/users/trunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trunet/subscriptions","organizations_url":"https://api.github.com/users/trunet/orgs","repos_url":"https://api.github.com/users/trunet/repos","events_url":"https://api.github.com/users/trunet/events{/privacy}","received_events_url":"https://api.github.com/users/trunet/received_events","type":"User","site_admin":false},"repo":{"id":73207634,"name":"braviarc","full_name":"trunet/braviarc","owner":{"login":"trunet","id":199800,"avatar_url":"https://avatars.githubusercontent.com/u/199800?v=3","gravatar_id":"","url":"https://api.github.com/users/trunet","html_url":"https://github.com/trunet","followers_url":"https://api.github.com/users/trunet/followers","following_url":"https://api.github.com/users/trunet/following{/other_user}","gists_url":"https://api.github.com/users/trunet/gists{/gist_id}","starred_url":"https://api.github.com/users/trunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trunet/subscriptions","organizations_url":"https://api.github.com/users/trunet/orgs","repos_url":"https://api.github.com/users/trunet/repos","events_url":"https://api.github.com/users/trunet/events{/privacy}","received_events_url":"https://api.github.com/users/trunet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trunet/braviarc","description":"Python library for Sony Bravia TV remote control","fork":true,"url":"https://api.github.com/repos/trunet/braviarc","forks_url":"https://api.github.com/repos/trunet/braviarc/forks","keys_url":"https://api.github.com/repos/trunet/braviarc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trunet/braviarc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trunet/braviarc/teams","hooks_url":"https://api.github.com/repos/trunet/braviarc/hooks","issue_events_url":"https://api.github.com/repos/trunet/braviarc/issues/events{/number}","events_url":"https://api.github.com/repos/trunet/braviarc/events","assignees_url":"https://api.github.com/repos/trunet/braviarc/assignees{/user}","branches_url":"https://api.github.com/repos/trunet/braviarc/branches{/branch}","tags_url":"https://api.github.com/repos/trunet/braviarc/tags","blobs_url":"https://api.github.com/repos/trunet/braviarc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trunet/braviarc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trunet/braviarc/git/refs{/sha}","trees_url":"https://api.github.com/repos/trunet/braviarc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trunet/braviarc/statuses/{sha}","languages_url":"https://api.github.com/repos/trunet/braviarc/languages","stargazers_url":"https://api.github.com/repos/trunet/braviarc/stargazers","contributors_url":"https://api.github.com/repos/trunet/braviarc/contributors","subscribers_url":"https://api.github.com/repos/trunet/braviarc/subscribers","subscription_url":"https://api.github.com/repos/trunet/braviarc/subscription","commits_url":"https://api.github.com/repos/trunet/braviarc/commits{/sha}","git_commits_url":"https://api.github.com/repos/trunet/braviarc/git/commits{/sha}","comments_url":"https://api.github.com/repos/trunet/braviarc/comments{/number}","issue_comment_url":"https://api.github.com/repos/trunet/braviarc/issues/comments{/number}","contents_url":"https://api.github.com/repos/trunet/braviarc/contents/{+path}","compare_url":"https://api.github.com/repos/trunet/braviarc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trunet/braviarc/merges","archive_url":"https://api.github.com/repos/trunet/braviarc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trunet/braviarc/downloads","issues_url":"https://api.github.com/repos/trunet/braviarc/issues{/number}","pulls_url":"https://api.github.com/repos/trunet/braviarc/pulls{/number}","milestones_url":"https://api.github.com/repos/trunet/braviarc/milestones{/number}","notifications_url":"https://api.github.com/repos/trunet/braviarc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trunet/braviarc/labels{/name}","releases_url":"https://api.github.com/repos/trunet/braviarc/releases{/id}","deployments_url":"https://api.github.com/repos/trunet/braviarc/deployments","created_at":"2016-11-08T16:57:02Z","updated_at":"2016-11-08T16:57:03Z","pushed_at":"2016-11-08T17:23:24Z","git_url":"git://github.com/trunet/braviarc.git","ssh_url":"git@github.com:trunet/braviarc.git","clone_url":"https://github.com/trunet/braviarc.git","svn_url":"https://github.com/trunet/braviarc","homepage":"","size":16,"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":"aparraga:master","ref":"master","sha":"3781f8e3dd4829b74a668a8efcf51f2d37159750","user":{"login":"aparraga","id":1303776,"avatar_url":"https://avatars.githubusercontent.com/u/1303776?v=3","gravatar_id":"","url":"https://api.github.com/users/aparraga","html_url":"https://github.com/aparraga","followers_url":"https://api.github.com/users/aparraga/followers","following_url":"https://api.github.com/users/aparraga/following{/other_user}","gists_url":"https://api.github.com/users/aparraga/gists{/gist_id}","starred_url":"https://api.github.com/users/aparraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparraga/subscriptions","organizations_url":"https://api.github.com/users/aparraga/orgs","repos_url":"https://api.github.com/users/aparraga/repos","events_url":"https://api.github.com/users/aparraga/events{/privacy}","received_events_url":"https://api.github.com/users/aparraga/received_events","type":"User","site_admin":false},"repo":{"id":60957863,"name":"braviarc","full_name":"aparraga/braviarc","owner":{"login":"aparraga","id":1303776,"avatar_url":"https://avatars.githubusercontent.com/u/1303776?v=3","gravatar_id":"","url":"https://api.github.com/users/aparraga","html_url":"https://github.com/aparraga","followers_url":"https://api.github.com/users/aparraga/followers","following_url":"https://api.github.com/users/aparraga/following{/other_user}","gists_url":"https://api.github.com/users/aparraga/gists{/gist_id}","starred_url":"https://api.github.com/users/aparraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparraga/subscriptions","organizations_url":"https://api.github.com/users/aparraga/orgs","repos_url":"https://api.github.com/users/aparraga/repos","events_url":"https://api.github.com/users/aparraga/events{/privacy}","received_events_url":"https://api.github.com/users/aparraga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aparraga/braviarc","description":"Python library for Sony Bravia TV remote control","fork":false,"url":"https://api.github.com/repos/aparraga/braviarc","forks_url":"https://api.github.com/repos/aparraga/braviarc/forks","keys_url":"https://api.github.com/repos/aparraga/braviarc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aparraga/braviarc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aparraga/braviarc/teams","hooks_url":"https://api.github.com/repos/aparraga/braviarc/hooks","issue_events_url":"https://api.github.com/repos/aparraga/braviarc/issues/events{/number}","events_url":"https://api.github.com/repos/aparraga/braviarc/events","assignees_url":"https://api.github.com/repos/aparraga/braviarc/assignees{/user}","branches_url":"https://api.github.com/repos/aparraga/braviarc/branches{/branch}","tags_url":"https://api.github.com/repos/aparraga/braviarc/tags","blobs_url":"https://api.github.com/repos/aparraga/braviarc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aparraga/braviarc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aparraga/braviarc/git/refs{/sha}","trees_url":"https://api.github.com/repos/aparraga/braviarc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aparraga/braviarc/statuses/{sha}","languages_url":"https://api.github.com/repos/aparraga/braviarc/languages","stargazers_url":"https://api.github.com/repos/aparraga/braviarc/stargazers","contributors_url":"https://api.github.com/repos/aparraga/braviarc/contributors","subscribers_url":"https://api.github.com/repos/aparraga/braviarc/subscribers","subscription_url":"https://api.github.com/repos/aparraga/braviarc/subscription","commits_url":"https://api.github.com/repos/aparraga/braviarc/commits{/sha}","git_commits_url":"https://api.github.com/repos/aparraga/braviarc/git/commits{/sha}","comments_url":"https://api.github.com/repos/aparraga/braviarc/comments{/number}","issue_comment_url":"https://api.github.com/repos/aparraga/braviarc/issues/comments{/number}","contents_url":"https://api.github.com/repos/aparraga/braviarc/contents/{+path}","compare_url":"https://api.github.com/repos/aparraga/braviarc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aparraga/braviarc/merges","archive_url":"https://api.github.com/repos/aparraga/braviarc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aparraga/braviarc/downloads","issues_url":"https://api.github.com/repos/aparraga/braviarc/issues{/number}","pulls_url":"https://api.github.com/repos/aparraga/braviarc/pulls{/number}","milestones_url":"https://api.github.com/repos/aparraga/braviarc/milestones{/number}","notifications_url":"https://api.github.com/repos/aparraga/braviarc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aparraga/braviarc/labels{/name}","releases_url":"https://api.github.com/repos/aparraga/braviarc/releases{/id}","deployments_url":"https://api.github.com/repos/aparraga/braviarc/deployments","created_at":"2016-06-12T09:08:53Z","updated_at":"2016-10-30T17:54:31Z","pushed_at":"2016-11-08T17:23:45Z","git_url":"git://github.com/aparraga/braviarc.git","ssh_url":"git@github.com:aparraga/braviarc.git","clone_url":"https://github.com/aparraga/braviarc.git","svn_url":"https://github.com/aparraga/braviarc","homepage":"","size":16,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aparraga/braviarc/pulls/9"},"html":{"href":"https://github.com/aparraga/braviarc/pull/9"},"issue":{"href":"https://api.github.com/repos/aparraga/braviarc/issues/9"},"comments":{"href":"https://api.github.com/repos/aparraga/braviarc/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/aparraga/braviarc/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/aparraga/braviarc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aparraga/braviarc/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/aparraga/braviarc/statuses/a85fccbb86aa55859bd05d86f72170390e1bbe2a"}}}}
{"actor":{"display_login":"aparraga"}}