1
0
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:
Daniel P. Berrange
2013-12-09 15:12:25 +00:00
parent 919bb0cc3b
commit d499f4a7c1

View File

@@ -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:]