Skip to content

Commit 0f26998

Browse files
mguezuragasysradium
authored andcommitted
Minor fix on template allocation documentation string (python-oca#38)
1 parent 874c96c commit 0f26998

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

oca/template.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def allocate(client, template):
3535
``client``
3636
oca.Client object
3737
38-
``group``
39-
a string containing the group name
38+
``template``
39+
a string containing the template contents
4040
'''
4141
template_id = client.call(VmTemplate.METHODS['allocate'], template)
4242
return template_id
@@ -109,4 +109,4 @@ def __init__(self, client):
109109
def _factory(self, xml):
110110
i = VmTemplate(xml, self.client)
111111
i._convert_types()
112-
return i
112+
return i

0 commit comments

Comments
 (0)