comparison treepkg/readconfig.py @ 115:d7b53e7df961

Fix doc-string
author Bernhard Herzog <bh@intevation.de>
date Tue, 01 Apr 2008 14:47:36 +0000
parents 02c261e4443f
children ce9f046058b5
comparison
equal deleted inserted replaced
114:02c261e4443f 115:d7b53e7df961
49 49
50 50
51 def read_config(filename): 51 def read_config(filename):
52 """Reads the tree packager configuration from the file given by filename. 52 """Reads the tree packager configuration from the file given by filename.
53 53
54 The function returns a tuple with a ('treepkg') and a list of dicts 54 The function returns a tuple with a dict ('treepkg') and a list of
55 ('packagers'). The treepkg dict contains the main configuration of 55 dicts ('packagers'). The treepkg dict contains the main
56 the tree packager. The packagers list contains one dict with the 56 configuration of the tree packager. The packagers list contains one
57 configuratiin for each packager. 57 dict with the configuratiin for each packager.
58 """ 58 """
59 parser = SafeConfigParser(defaults) 59 parser = SafeConfigParser(defaults)
60 parser.read([filename]) 60 parser.read([filename])
61 61
62 # extract packager configurations 62 # extract packager configurations
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)