mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-07 04:23:47 +03:00
sanitytest: remove use of string.lower()
Call lower() directly on the string object instance, not the class Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -201,8 +201,8 @@ for name in sorted(basicklassmap):
|
||||
klass = "virDomain"
|
||||
func = "snapshot" + func
|
||||
|
||||
# Names should stsart with lowercase letter...
|
||||
func = string.lower(func[0:1]) + func[1:]
|
||||
# Names should start with lowercase letter...
|
||||
func = func[0:1].lower() + func[1:]
|
||||
if func[0:8] == "nWFilter":
|
||||
func = "nwfilter" + func[8:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user