{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible/pulls/comments/69153895","id":69153895,"diff_hunk":"@@ -134,7 +135,7 @@ def playbook_on_stats(self, stats):\n         # Print the timings\n         for uuid, result in results:\n             msg = ''\n-            msg=\"{0:-<70}{1:->9}\".format('{0} '.format(result['name']),' {0:.02f}s'.format(result['time']))\n+            msg=\"{0:-<70}{1:->9}\".format('{0} '.format(to_bytes(result['name'])),' {0:.02f}s'.format(result['time']))\n             if 'path' in result:\n-                msg += \"\\n{0:-<79}\".format( '{0} '.format(result['path']))\n-            self._display.display(msg)\n+                msg += \"\\n{0:-<79}\".format('{0} '.format(to_bytes(result['path'])))\n+            self._display.display(to_unicode(msg))","path":"lib/ansible/plugins/callback/profile_tasks.py","position":18,"original_position":18,"commit_id":"459e4535c8992f052de08c0f347b8099f1f13d4c","original_commit_id":"459e4535c8992f052de08c0f347b8099f1f13d4c","user":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"body":"And then we can get rid of the to_unicode here because we've already changed it into unicode above.","created_at":"2016-06-30T15:25:09Z","updated_at":"2016-06-30T15:25:09Z","html_url":"https://github.com/ansible/ansible/pull/16522#discussion_r69153895","pull_request_url":"https://api.github.com/repos/ansible/ansible/pulls/16522","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments/69153895"},"html":{"href":"https://github.com/ansible/ansible/pull/16522#discussion_r69153895"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible/pulls/16522"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/16522","id":75835075,"html_url":"https://github.com/ansible/ansible/pull/16522","diff_url":"https://github.com/ansible/ansible/pull/16522.diff","patch_url":"https://github.com/ansible/ansible/pull/16522.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/16522","number":16522,"state":"open","locked":false,"title":"fix encoding issues in profile_tasks","user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"body":"##### ISSUE TYPE\r\n\r\n - Bugfix Pull Request\r\n\r\n\r\n##### ANSIBLE VERSION\r\n\r\n```\r\n2.2\r\n```\r\n\r\n##### SUMMARY\r\n\r\nfixes #16521","created_at":"2016-06-30T14:59:32Z","updated_at":"2016-06-30T15:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69a90ac903d0a8215173507ed3611d00f0a47b72","assignee":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"assignees":[{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/16522/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/16522/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/16522/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/459e4535c8992f052de08c0f347b8099f1f13d4c","head":{"label":"bcoca:profile_tasks_encoding","ref":"profile_tasks_encoding","sha":"459e4535c8992f052de08c0f347b8099f1f13d4c","user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"repo":{"id":6867903,"name":"ansible","full_name":"bcoca/ansible","owner":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcoca/ansible","description":"Model-driven configuration management, multi-node deployment, and remote task execution system.   Uses SSH by default, so there is no special software has to be installed on the nodes you manage.  Ansible can be extended in any language.  Note: The default branch is the development branch, if you need a stable version, see the release-XX branches, tags, or downloads.","fork":true,"url":"https://api.github.com/repos/bcoca/ansible","forks_url":"https://api.github.com/repos/bcoca/ansible/forks","keys_url":"https://api.github.com/repos/bcoca/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcoca/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcoca/ansible/teams","hooks_url":"https://api.github.com/repos/bcoca/ansible/hooks","issue_events_url":"https://api.github.com/repos/bcoca/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/bcoca/ansible/events","assignees_url":"https://api.github.com/repos/bcoca/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/bcoca/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/bcoca/ansible/tags","blobs_url":"https://api.github.com/repos/bcoca/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcoca/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcoca/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcoca/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcoca/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/bcoca/ansible/languages","stargazers_url":"https://api.github.com/repos/bcoca/ansible/stargazers","contributors_url":"https://api.github.com/repos/bcoca/ansible/contributors","subscribers_url":"https://api.github.com/repos/bcoca/ansible/subscribers","subscription_url":"https://api.github.com/repos/bcoca/ansible/subscription","commits_url":"https://api.github.com/repos/bcoca/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcoca/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcoca/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcoca/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcoca/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/bcoca/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcoca/ansible/merges","archive_url":"https://api.github.com/repos/bcoca/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcoca/ansible/downloads","issues_url":"https://api.github.com/repos/bcoca/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/bcoca/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/bcoca/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/bcoca/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcoca/ansible/labels{/name}","releases_url":"https://api.github.com/repos/bcoca/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/bcoca/ansible/deployments","created_at":"2012-11-26T15:56:50Z","updated_at":"2015-04-23T03:42:58Z","pushed_at":"2016-06-30T14:58:45Z","git_url":"git://github.com/bcoca/ansible.git","ssh_url":"git@github.com:bcoca/ansible.git","clone_url":"https://github.com/bcoca/ansible.git","svn_url":"https://github.com/bcoca/ansible","homepage":"http://ansible.cc","size":35114,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"6df56f009f8a1ba0e9d4eb12b5b47f16e80e9bf2","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2016-06-30T15:14:02Z","pushed_at":"2016-06-30T14:59:33Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":61006,"stargazers_count":17564,"watchers_count":17564,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5311,"mirror_url":null,"open_issues_count":1478,"forks":5311,"open_issues":1478,"watchers":17564,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/16522"},"html":{"href":"https://github.com/ansible/ansible/pull/16522"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/16522"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/16522/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/16522/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/16522/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/459e4535c8992f052de08c0f347b8099f1f13d4c"}}}}
{"actor":{"display_login":"abadger"}}