Classes | Functions
ChainData Namespace Reference

Classes

class  ChainData
 

Functions

def makeChain (chainSection, cfg)
 

Function Documentation

def ChainData.makeChain (   chainSection,
  cfg 
)

Definition at line 69 of file ChainData.py.

69 def makeChain(chainSection,cfg):
70 
71  chainName=chainSection.replace("chain","").strip()
72  title=cfg.get(chainSection,"title")
73  desc=cfg.get(chainSection,"description")
74  chain=ChainData(chainName,title,desc)
75 
76 
77  tiersSection=chainName + "/tiers"
78 
79  tiers=OrderedDict(cfg.items(tiersSection))
80  for tier in tiers.keys():
81  defname=tiers[tier]
82  chain.addTier(tier,defname)
83 
84 
85  return chain
86 
def makeChain(chainSection, cfg)
Definition: ChainData.py:69