diff options
| author | Collin Winter <collinw@gmail.com> | 2007-08-24 18:57:22 (GMT) |
|---|---|---|
| committer | Collin Winter <collinw@gmail.com> | 2007-08-24 18:57:22 (GMT) |
| commit | 70e79803fcc93e19808faa240a5f5e4854d0b077 (patch) | |
| tree | 0e862edc9d0ae630f673988401418df2bbce59d6 /Lib/xml/dom/domreg.py | |
| parent | 75d38e992e9e3be428e51bcfe4bd5b201e953236 (diff) | |
| download | cpython-70e79803fcc93e19808faa240a5f5e4854d0b077.zip cpython-70e79803fcc93e19808faa240a5f5e4854d0b077.tar.gz cpython-70e79803fcc93e19808faa240a5f5e4854d0b077.tar.bz2 | |
r698@Silves: collinwinter | 2007-08-24 10:57:15 -0700
Normalize raise statements in Lib/xml/.
Diffstat (limited to 'Lib/xml/dom/domreg.py')
| -rw-r--r-- | Lib/xml/dom/domreg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/dom/domreg.py b/Lib/xml/dom/domreg.py index cfd8231..f653563 100644 --- a/Lib/xml/dom/domreg.py +++ b/Lib/xml/dom/domreg.py @@ -77,7 +77,7 @@ def getDOMImplementation(name = None, features = ()): if _good_enough(dom, features): return dom - raise ImportError,"no suitable DOM implementation found" + raise ImportError("no suitable DOM implementation found") def _parse_feature_string(s): features = [] @@ -87,7 +87,7 @@ def _parse_feature_string(s): while i < length: feature = parts[i] if feature[0] in "0123456789": - raise ValueError, "bad feature name: %r" % (feature,) + raise ValueError("bad feature name: %r" % (feature,)) i = i + 1 version = None if i < length: |
