yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24252
[Bug 1388095] [NEW] VMware fake driver returns invalid search results due to incorrect use of lstrip()
Public bug reported:
_search_ds in the fake driver does:
path = file.lstrip(dname).split('/')
The intention is to remove a prefix of dname from the beginning of file,
but this actually removes all instances of all characters in dname from
the left of file.
** Affects: nova
Importance: Undecided
Status: New
** Tags: vmware
--
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/1388095
Title:
VMware fake driver returns invalid search results due to incorrect use
of lstrip()
Status in OpenStack Compute (Nova):
New
Bug description:
_search_ds in the fake driver does:
path = file.lstrip(dname).split('/')
The intention is to remove a prefix of dname from the beginning of
file, but this actually removes all instances of all characters in
dname from the left of file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1388095/+subscriptions
Follow ups
References