** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1155761
Title:
rstrip() strips characters not strings
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
In nova/virt/powervm/blockdev.py:_copy_image_file, it uses rstrip() in
an attempt to strip off a trailing file extension (".gz").
However, rstrip() works on characters and not strings. As a result,
rstrip() could strip too many characters off.
Example:
>>> "foobaz.gz".rstrip(".gz")
'fooba'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1155761/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp