summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/idle/IdleConf.py1
-rwxr-xr-xTools/idle/idle.py8
2 files changed, 1 insertions, 8 deletions
diff --git a/Tools/idle/IdleConf.py b/Tools/idle/IdleConf.py
index 37f4ef1..8eaa8e0 100644
--- a/Tools/idle/IdleConf.py
+++ b/Tools/idle/IdleConf.py
@@ -110,3 +110,4 @@ def load(dir):
os.path.join(homedir, ".idle")))
idleconf = IdleConfParser()
+load(os.path.dirname(__file__))
diff --git a/Tools/idle/idle.py b/Tools/idle/idle.py
index f42327c..8638a16 100755
--- a/Tools/idle/idle.py
+++ b/Tools/idle/idle.py
@@ -1,12 +1,4 @@
#! /usr/bin/env python
-import os
-import sys
-import IdleConf
-
-idle_dir = os.path.dirname(IdleConf.__file__)
-IdleConf.load(idle_dir)
-
-# defer importing Pyshell until IdleConf is loaded
import PyShell
PyShell.main()