Commit de1f7214 authored by Łukasz Nowak's avatar Łukasz Nowak

Add backward compatible note.

parent 42ad1f29
...@@ -148,6 +148,8 @@ class Supply(SlapDocument): ...@@ -148,6 +148,8 @@ class Supply(SlapDocument):
zope.interface.implements(interface.ISupply) zope.interface.implements(interface.ISupply)
def supply(self, software_release, computer_guid=None, state='available'): def supply(self, software_release, computer_guid=None, state='available'):
# Note: Zope accepts additional arguments, so state in case of older
# servers will be just ignored.
self._connection_helper.POST('/supplySupply', { self._connection_helper.POST('/supplySupply', {
'url': software_release, 'url': software_release,
'computer_id': computer_guid, 'computer_id': computer_guid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment