api.metadata.base.lookup() doesn't work on Windows due to os.path.normpath()
Bug #1077125 reported by
Alessandro Pilotti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Alessandro Pilotti |
Bug Description
api.metadata.
This doesn't work on Windows as it transforms "/" in "\".
Changed in nova: | |
assignee: | nobody → Alessandro Pilotti (alexpilotti) |
status: | New → In Progress |
tags: | added: low-hanging-fruit |
Changed in nova: | |
status: | In Progress → Incomplete |
Changed in nova: | |
status: | Incomplete → In Progress |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/15763 github. com/openstack/ nova/commit/ 3757ba9ccf0915d 1854c97f625effd 0edbedfa12
Committed: http://
Submitter: Jenkins
Branch: master
commit 3757ba9ccf0915d 1854c97f625effd 0edbedfa12
Author: Alessandro Pilotti <email address hidden>
Date: Fri Nov 9 20:03:01 2012 +0200
Fixes a bug in api.metadata. base.lookup( ) on Windows
Fixes Bug #1077125
api. metadata. base.lookup( ) uses os.path.normpath() to normalize urls.
This doesn't work on Windows as it transforms "/" in "\".
The fix solves the issue, but os.path.normpath() should never be used
to normalize urls.
Change-Id: I83d0795d5875ac ac5fe9bd543f9ca 9b4a3e2c8d5