summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/idlelib/idle2
-rw-r--r--Lib/idlelib/idle.py2
-rw-r--r--Lib/idlelib/idle.pyw2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/idle b/Lib/idlelib/idle
index 449fb0e..3b08cae 100755
--- a/Lib/idlelib/idle
+++ b/Lib/idlelib/idle
@@ -7,7 +7,7 @@ except ImportError:
try:
import PyShell
except ImportError:
- print "Can't locate PyShell.py"
+ raise
else:
import os
idledir = os.path.dirname(os.path.abspath(PyShell.__file__))
diff --git a/Lib/idlelib/idle.py b/Lib/idlelib/idle.py
index 449fb0e..3b08cae 100644
--- a/Lib/idlelib/idle.py
+++ b/Lib/idlelib/idle.py
@@ -7,7 +7,7 @@ except ImportError:
try:
import PyShell
except ImportError:
- print "Can't locate PyShell.py"
+ raise
else:
import os
idledir = os.path.dirname(os.path.abspath(PyShell.__file__))
diff --git a/Lib/idlelib/idle.pyw b/Lib/idlelib/idle.pyw
index 2a61720..767db86 100644
--- a/Lib/idlelib/idle.pyw
+++ b/Lib/idlelib/idle.pyw
@@ -5,7 +5,7 @@ except ImportError:
try:
import PyShell
except ImportError:
- print "Can't locate PyShell.py"
+ raise
else:
import os
idledir = os.path.dirname(os.path.abspath(PyShell.__file__))