(self, filenames)
| 155 | return optionstr |
| 156 | |
| 157 | def read(self, filenames): |
| 158 | if isinstance(filenames, text_or_bytes): |
| 159 | filenames = [filenames] |
| 160 | for filename in filenames: |
| 161 | # try: |
| 162 | # fp = open(filename) |
| 163 | # except IOError: |
| 164 | # continue |
| 165 | with open(filename) as fp: |
| 166 | self._read(fp, filename) |
| 167 | |
| 168 | def as_dict(self, raw=False, vars=None): |
| 169 | """Convert an INI file to a dictionary.""" |
no outgoing calls