[libvirt] [PATCH 10/20] Secret manipulation step 10: Add Python API

Daniel Veillard veillard at redhat.com
Wed Aug 19 14:39:58 UTC 2009


On Sun, Aug 16, 2009 at 10:48:03PM +0200, Miloslav Trmač wrote:
okay, 

> @@ -714,6 +725,12 @@ def nameFixup(name, classe, type, file):
>      elif name[0:18] == "virInterfaceLookup":
>          func = name[3:]
>          func = string.lower(func[0:1]) + func[1:]
> +    elif name[0:15] == "virSecretDefine":
> +        func = name[3:]
> +        func = string.lower(func[0:1]) + func[1:]
> +    elif name[0:15] == "virSecretLookup":
> +        func = name[3:]
> +        func = string.lower(func[0:1]) + func[1:]
>      elif name[0:20] == "virStoragePoolDefine":
>          func = name[3:]
>          func = string.lower(func[0:1]) + func[1:]
> @@ -747,6 +764,9 @@ def nameFixup(name, classe, type, file):
>      elif name[0:12] == "virInterface":
>          func = name[10:]
>          func = string.lower(func[0:1]) + func[1:]
> +    elif name[0:9] == 'virSecret':
> +        func = name[9:]
> +        func = string.lower(func[0:1]) + func[1:]
>      elif name[0:17] == "virStoragePoolGet":
>          func = name[17:]
>          func = string.lower(func[0:1]) + func[1:]

  That part of the patch is likely to clash with my current attempt at
  cleaning this up but that should be easy to apply manually.


  ACK looks fine :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list