summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-07-04 22:16:15 (GMT)
committerBrett Cannon <brett@python.org>2013-07-04 22:16:15 (GMT)
commit260fbe80c5bd3611ae9e896a3c4714527667aece (patch)
treeaa4e3e522edf2af312a256702b8f43769faab2e0 /Lib/xmlrpc
parent3dfd23245be19ff95cf50fe93c428dabf2ff90e7 (diff)
downloadcpython-260fbe80c5bd3611ae9e896a3c4714527667aece.zip
cpython-260fbe80c5bd3611ae9e896a3c4714527667aece.tar.gz
cpython-260fbe80c5bd3611ae9e896a3c4714527667aece.tar.bz2
Issue #15767: Excise the remaining instances of ModuleNotFoundError
Diffstat (limited to 'Lib/xmlrpc')
-rw-r--r--Lib/xmlrpc/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py
index 80233e4..54e1726 100644
--- a/Lib/xmlrpc/server.py
+++ b/Lib/xmlrpc/server.py
@@ -116,7 +116,7 @@ import inspect
import traceback
try:
import fcntl
-except ModuleNotFoundError:
+except ImportError:
fcntl = None
def resolve_dotted_attribute(obj, attr, allow_dotted_names=True):