aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib_pypy/syslog.py')
-rw-r--r--lib_pypy/syslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_pypy/syslog.py b/lib_pypy/syslog.py
index e9b25342e7..6a778596e6 100644
--- a/lib_pypy/syslog.py
+++ b/lib_pypy/syslog.py
@@ -8,7 +8,7 @@ syslog facility.
import sys
if sys.platform == 'win32':
- raise ImportError("No syslog on Windows")
+ raise ModuleNotFoundError("No syslog on Windows", name="syslog")
try: from __pypy__ import builtinify
except ImportError: builtinify = lambda f: f