commit | 6cb7a21934d2579152b9dedc8b4c87e7c8b3faaa | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat May 12 12:18:10 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat May 12 12:18:10 2001 +0000 |
tree | bdd72506a8131217068a741aa7c95ef25b85fc4d | |
parent | 8451ebb435e3b959a036187e6aa8b18a84b42a2b [diff] [blame] |
Move the action of loading the configuration to the IdleConf module rather than the idle.py script. This has advantages and disadvantages; the biggest advantage being that we can more easily have an alternative main program.
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 @@ os.path.join(homedir, ".idle"))) idleconf = IdleConfParser() +load(os.path.dirname(__file__))