Merge lp:~tpatil/nova/bug709510 into lp:~hudson-openstack/nova/trunk
Proposed by
Tushar Patil
Status: | Merged |
---|---|
Approved by: | Vish Ishaya |
Approved revision: | 643 |
Merged at revision: | 643 |
Proposed branch: | lp:~tpatil/nova/bug709510 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
65 lines (+12/-11) 2 files modified
nova/api/ec2/__init__.py (+10/-9) nova/api/openstack/__init__.py (+2/-2) |
To merge this branch: | bzr merge lp:~tpatil/nova/bug709510 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
Thierry Carrez (community) | gfe | Approve | |
Devin Carlen (community) | Approve | ||
Review via email: mp+48078@code.launchpad.net |
Commit message
Fix for LP Bug #709510
Description of the change
coerce the exceptions to unicode.
This will work in python 2.x but will fail in python 3.x because unicode function is not supported in 3.x. By default all string are unicode string. When python 3.x will be supported bby nova at that time we will need to port and replace from unicode() to str() again.
To post a comment you must log in.
Seems like this is getting changed back and forth from ex.args[0] to ex. Do we have any kind of consensus here?