diff options
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 0e6e615..117ca49 100644 --- a/Lib/xml/dom/domreg.py +++ b/Lib/xml/dom/domreg.py @@ -26,7 +26,7 @@ def registerDOMImplementation(name, factory): interface. The factory function can either return the same object, or a new one (e.g. if that implementation supports some customization).""" - + registered[name] = factory def _good_enough(dom, features): @@ -48,7 +48,7 @@ def getDOMImplementation(name = None, features = ()): find one with the required feature set. If no implementation can be found, raise an ImportError. The features list must be a sequence of (feature, version) pairs which are passed to hasFeature.""" - + import os creator = None mod = well_known_implementations.get(name) |