(self, section)
| 1 | # Python 2.5 bug |
| 2 | # Was turning into tryelse when there in fact is no else. |
| 3 | def options(self, section): |
| 4 | try: |
| 5 | opts = self._sections[section].copy() |
| 6 | except KeyError: |
| 7 | raise NoSectionError(section) |
| 8 | opts.update(self._defaults) |
| 9 | if '__name__' in opts: |
| 10 | del opts['__name__'] |
| 11 | return opts.keys() |
| 12 | |
| 13 | # From python2.5/distutils/command/register.py |
| 14 | def post_to_server(self, urllib2): |