Mercurial > cpython-lru_cache-weakref
diff Lib/ConfigParser.py @ 43020:907a45df1295
Raise statement normalization in Lib/.
| author | Collin Winter <collinw@gmail.com> |
|---|---|
| date | Thu, 30 Aug 2007 01:19:48 +0000 |
| parents | 00c02c4488ce |
| children | ace45b361e87 |
line wrap: on
line diff
--- a/Lib/ConfigParser.py Thu Aug 30 01:15:14 2007 +0000 +++ b/Lib/ConfigParser.py Thu Aug 30 01:19:48 2007 +0000 @@ -344,7 +344,7 @@ def getboolean(self, section, option): v = self.get(section, option) if v.lower() not in self._boolean_states: - raise ValueError, 'Not a boolean: %s' % v + raise ValueError('Not a boolean: %s' % v) return self._boolean_states[v.lower()] def optionxform(self, optionstr):
