Commit 1febdef8 authored by Łukasz Nowak's avatar Łukasz Nowak

Add docstring in order to have publishable method.

parent 56e0625f
...@@ -46,6 +46,7 @@ class SoftwareInstance(Item): ...@@ -46,6 +46,7 @@ class SoftwareInstance(Item):
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getSlaXmlAsDict') 'getSlaXmlAsDict')
def getSlaXmlAsDict(self): def getSlaXmlAsDict(self):
"""Returns SLA XML as python dictionary"""
result_dict = {} result_dict = {}
xml = self.getSlaXml() xml = self.getSlaXml()
if xml is not None and xml != '': if xml is not None and xml != '':
......
238 239
\ No newline at end of file \ No newline at end of file
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