Trees | Indices | Help |
|
---|
|
1 ############################################################################## 2 # 3 # Copyright (C) Zenoss, Inc. 2010, all rights reserved. 4 # 5 # This content is made available according to terms specified in 6 # License.zenoss under the directory where your Zenoss product is installed. 7 # 8 ############################################################################## 9 10152217 self_dict = object.__getattribute__(self, '__dict__') 18 try: 19 return self_dict[item] 20 except KeyError: 21 return None263528 def dict_to_obj(d): 29 for k,v in d.iteritems(): 30 if isinstance(v, dict): 31 d[k] = dict_to_obj(v) 32 return SpecialDict(d)33 34 return self.template_body.format(**dict_to_obj(kwargs).__dict__)
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Mon Jul 30 17:11:13 2012 | http://epydoc.sourceforge.net |