diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-12-08 18:37:27 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-12-08 18:37:27 +0100 |
commit | 62410eb927d20003271fb0c5d66a21bf59f38628 (patch) | |
tree | e27f1939246b4948a5220cda2a1d99398dd8e153 /psutil | |
parent | c9988242c7138802e48ecd09837e95a06096aae6 (diff) | |
download | psutil-62410eb927d20003271fb0c5d66a21bf59f38628.tar.gz |
enforce lack of support for Win XP
Diffstat (limited to 'psutil')
-rw-r--r-- | psutil/_pswindows.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py index b938d42f..2bc9c9dd 100644 --- a/psutil/_pswindows.py +++ b/psutil/_pswindows.py @@ -27,8 +27,7 @@ except ImportError as err: # but if we get here it means this this was a wheel (or exe). msg = "this Windows version is too old (< Windows Vista); " msg += "psutil 3.4.2 is the latest version which supports Windows " - msg += "2000, XP and 2003 server; it may be possible that psutil " - msg += "will work if compiled from sources though" + msg += "2000, XP and 2003 server" raise RuntimeError(msg) else: raise |