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