)]}'
{"id":"openstack%2Fpython-novaclient~346026","triplet_id":"openstack%2Fpython-novaclient~master~I13f1ef2e1b41299b417cad3759a5cda241890df7","project":"openstack/python-novaclient","branch":"master","topic":"bug/1403379","hashtags":[],"change_id":"I13f1ef2e1b41299b417cad3759a5cda241890df7","subject":"Fix \u0027UnicodeEncodeError\u0027 for unicode values","status":"MERGED","created":"2016-07-22 13:03:27.000000000","updated":"2016-09-15 13:54:33.000000000","submitted":"2016-09-15 13:54:33.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":6,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"989f0db2e729e56f9a577ddf2212919f4c9e6d93","_number":346026,"virtual_id_number":346026,"owner":{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},{"value":2,"date":"2016-09-15 13:54:33.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"recommended":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"all":[{"value":1,"date":"2016-08-30 23:09:13.000000000","permitted_voting_range":{"min":1,"max":2},"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},{"value":2,"date":"2016-08-30 15:45:29.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":2,"date":"2016-09-15 12:41:24.000000000","_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","value":1,"default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"all":[{"value":0,"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":1,"date":"2016-09-15 12:41:24.000000000","_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-08-30 15:45:29.000000000","updated_by":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"reviewer":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"state":"REVIEWER"},{"updated":"2016-08-30 23:09:13.000000000","updated_by":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"reviewer":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"state":"REVIEWER"},{"updated":"2016-09-15 12:41:24.000000000","updated_by":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"reviewer":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"state":"REVIEWER"},{"updated":"2016-09-15 13:54:33.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"c3a1b210ca24773b2cbc9e44c41a3ab0c161d3fc","author":{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},"date":"2016-07-22 13:03:27.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"6964f254c35f06586a5bbed45047146b673a9681","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-07-22 14:02:05.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-docs http://docs-draft.openstack.org/26/346026/1/check/gate-python-novaclient-docs/73a013b//doc/build/html/ : SUCCESS in 3m 18s\n- gate-python-novaclient-pep8 http://logs.openstack.org/26/346026/1/check/gate-python-novaclient-pep8/1d2eb8b/ : SUCCESS in 3m 18s\n- gate-python-novaclient-python27 http://logs.openstack.org/26/346026/1/check/gate-python-novaclient-python27/4ccca5e/ : SUCCESS in 4m 17s\n- gate-python-novaclient-python34 http://logs.openstack.org/26/346026/1/check/gate-python-novaclient-python34/1fb39e8/ : SUCCESS in 1m 54s\n- gate-python-novaclient-python35-nv http://logs.openstack.org/26/346026/1/check/gate-python-novaclient-python35-nv/6797545/ : FAILURE in 2m 41s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/26/346026/1/check/gate-tempest-dsvm-neutron-src-python-novaclient/3dcd8e2/ : SUCCESS in 57m 44s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/26/346026/1/check/gate-novaclient-dsvm-functional/3633569/ : SUCCESS in 42m 23s\n- gate-novaclient-dsvm-functional-identity-v3-only-nv http://logs.openstack.org/26/346026/1/check/gate-novaclient-dsvm-functional-identity-v3-only-nv/d64c3dc/ : SUCCESS in 42m 23s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"1ac697a308afadbead56cb1941f295c572c37595","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-07-22 15:44:55.000000000","message":"Patch Set 1:\n\n(2 comments)\n\nSome questions noted inline…","accounts_in_message":[],"_revision_number":1},{"id":"94900b67190c3f4f2b168fd584060a4b6c4a5aea","author":{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},"date":"2016-07-25 08:16:32.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"93f41f6277ff0d52f2345223d599ebb18196551e","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-07-25 15:37:28.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"3b1685673e5a6749e2850e9667224224e16252f0","author":{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},"date":"2016-08-30 10:32:40.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"10292e602f13a91f2f4064763ad52abbeb00065a","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-08-30 11:34:53.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-docs-ubuntu-xenial http://docs-draft.openstack.org/26/346026/2/check/gate-python-novaclient-docs-ubuntu-xenial/8012f15//doc/build/html/ : SUCCESS in 2m 53s\n- gate-python-novaclient-pep8-ubuntu-xenial http://logs.openstack.org/26/346026/2/check/gate-python-novaclient-pep8-ubuntu-xenial/d195f93/ : SUCCESS in 3m 00s\n- gate-python-novaclient-python27-ubuntu-xenial http://logs.openstack.org/26/346026/2/check/gate-python-novaclient-python27-ubuntu-xenial/663994a/ : SUCCESS in 4m 19s\n- gate-python-novaclient-python34 http://logs.openstack.org/26/346026/2/check/gate-python-novaclient-python34/4d2ba9f/ : SUCCESS in 2m 22s\n- gate-python-novaclient-python35-nv http://logs.openstack.org/26/346026/2/check/gate-python-novaclient-python35-nv/f9500d1/ : SUCCESS in 2m 40s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/26/346026/2/check/gate-tempest-dsvm-neutron-src-python-novaclient/0c7fc81/ : SUCCESS in 1h 02m 01s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/26/346026/2/check/gate-novaclient-dsvm-functional/63d6c19/ : SUCCESS in 39m 49s\n- gate-novaclient-dsvm-functional-mitaka-nv http://logs.openstack.org/26/346026/2/check/gate-novaclient-dsvm-functional-mitaka-nv/6c1f12e/ : SUCCESS in 24m 56s (non-voting)\n- gate-novaclient-dsvm-functional-identity-v3-only-nv http://logs.openstack.org/26/346026/2/check/gate-novaclient-dsvm-functional-identity-v3-only-nv/aee795d/ : SUCCESS in 41m 49s (non-voting)\n- gate-novaclient-dsvm-functional-neutron-nv http://logs.openstack.org/26/346026/2/check/gate-novaclient-dsvm-functional-neutron-nv/161a070/ : SUCCESS in 51m 20s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"0067e014e264a19680c497e47a46dc876dd41b44","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-08-30 15:45:29.000000000","message":"Patch Set 2: Code-Review+2\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"f4d7dfdddcc226fb47433233c4f6b58809bada5f","author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"date":"2016-08-30 23:09:13.000000000","message":"Patch Set 2: Code-Review+1","accounts_in_message":[],"_revision_number":2},{"id":"beea9dc755e7b060a1cafeb744e17a30c51ab416","author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"date":"2016-09-08 15:20:02.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"8962bcb113f8e08d1002c56ab219576573ae4268","author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"date":"2016-09-15 12:41:24.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":2},{"id":"32724dfc96797373b48aa2ae5db4344e14dbf263","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-09-15 12:41:34.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"ac7a5cb59b3e41dad539d1ceb06fcbc217f34efb","date":"2016-09-15 13:54:33.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":2},{"id":"19d0569ea25123c5022a2bf445854a27c43a98f2","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-09-15 13:54:33.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-novaclient-docs-ubuntu-xenial http://docs-draft.openstack.org/26/346026/2/gate/gate-python-novaclient-docs-ubuntu-xenial/c42e1dd//doc/build/html/ : SUCCESS in 1m 33s\n- gate-python-novaclient-pep8-ubuntu-xenial http://logs.openstack.org/26/346026/2/gate/gate-python-novaclient-pep8-ubuntu-xenial/31ca64d/ : SUCCESS in 1m 51s\n- gate-python-novaclient-python27-ubuntu-xenial http://logs.openstack.org/26/346026/2/gate/gate-python-novaclient-python27-ubuntu-xenial/d165708/ : SUCCESS in 2m 22s\n- gate-python-novaclient-python34 http://logs.openstack.org/26/346026/2/gate/gate-python-novaclient-python34/1072a4d/ : SUCCESS in 2m 18s\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/26/346026/2/gate/gate-tempest-dsvm-neutron-src-python-novaclient/12df5af/ : SUCCESS in 1h 01m 20s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/26/346026/2/gate/gate-novaclient-dsvm-functional/b858caf/ : SUCCESS in 29m 15s\n- gate-novaclient-dsvm-functional-neutron http://logs.openstack.org/26/346026/2/gate/gate-novaclient-dsvm-functional-neutron/69048a4/ : SUCCESS in 1h 12m 22s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"d8c07006dd85ad64a4a4a4cb47558c0a19e42e24","revisions":{"b16700f5be494e9fd436052d7d80b0d6cabd40bb":{"kind":"REWORK","_number":1,"created":"2016-07-22 13:03:27.000000000","uploader":{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},"ref":"refs/changes/26/346026/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/26/346026/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/1"}}},"commit":{"parents":[{"commit":"85ef6f46fa6e56ef6fdbe052f6c429ef0e0493b3","subject":"Change all test URLs to use example.com","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/85ef6f46fa6e56ef6fdbe052f6c429ef0e0493b3"}]}],"author":{"name":"bhagyashris","email":"bhagyashri.shewale@nttdata.com","date":"2016-07-05 13:54:21.000000000","tz":330},"committer":{"name":"bhagyashris","email":"bhagyashri.shewale@nttdata.com","date":"2016-07-22 11:42:47.000000000","tz":330},"subject":"Fix \u0027UnicodeEncodeError\u0027 for unicode values","message":"Fix \u0027UnicodeEncodeError\u0027 for unicode values\n\nUsed \u0027%\u0027 instead of format() because \"%\" formatting operation\nreturns a unicode string for both unicode and non-unicode\nformat strings.\n\nEncoded the exception error message in novaclient.shell.main and\nnovaclient.utils.do_action_on_many method to avoid\n\"UnicodeEncodeError\" and print valid message.\n\nNOTE:\nNot used u\u0027{0}.format(\u003cstr\u003e) because in python 3 everything\nis unicode so no need to add explicit \u0027u\u0027 to format string.\n\nCloses-Bug: #1403379\nChange-Id: I13f1ef2e1b41299b417cad3759a5cda241890df7\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/b16700f5be494e9fd436052d7d80b0d6cabd40bb"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/b16700f5be494e9fd436052d7d80b0d6cabd40bb"}]},"branch":"refs/heads/master"},"d8c07006dd85ad64a4a4a4cb47558c0a19e42e24":{"kind":"REWORK","_number":2,"created":"2016-08-30 10:32:40.000000000","uploader":{"_account_id":20182,"name":"Bhagyashri Shewale","email":"bshewale@redhat.com","username":"bhagyashris"},"ref":"refs/changes/26/346026/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/26/346026/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/26/346026/2"}}},"commit":{"parents":[{"commit":"ef5dc3211dc5393c5e050f5b607b9c7884e508d2","subject":"Merge \"[functional] Do not discover same resources for every test\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/ef5dc3211dc5393c5e050f5b607b9c7884e508d2"}]}],"author":{"name":"bhagyashris","email":"bhagyashri.shewale@nttdata.com","date":"2016-07-05 13:54:21.000000000","tz":330},"committer":{"name":"bhagyashris","email":"bhagyashri.shewale@nttdata.com","date":"2016-08-30 10:00:16.000000000","tz":330},"subject":"Fix \u0027UnicodeEncodeError\u0027 for unicode values","message":"Fix \u0027UnicodeEncodeError\u0027 for unicode values\n\nUsed \u0027%\u0027 instead of format() because \"%\" formatting operation\nreturns a unicode string for both unicode and non-unicode\nformat strings.\n\nEncoded the exception error message in novaclient.shell.main and\nnovaclient.utils.do_action_on_many method to avoid\n\"UnicodeEncodeError\" and print valid message.\n\nNOTE:\nNot used u\u0027{0}.format(\u003cstr\u003e) because in python 3 everything\nis unicode so no need to add explicit \u0027u\u0027 to format string.\n\nCloses-Bug: #1403379\nChange-Id: I13f1ef2e1b41299b417cad3759a5cda241890df7\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/d8c07006dd85ad64a4a4a4cb47558c0a19e42e24"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/d8c07006dd85ad64a4a4a4cb47558c0a19e42e24"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
