]> granicus.if.org Git - python/commitdiff
Removed some debugging prints: When running user configuration code
authorFred Drake <fdrake@acm.org>
Fri, 15 Sep 2000 04:41:22 +0000 (04:41 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 15 Sep 2000 04:41:22 +0000 (04:41 +0000)
from Tk.readprofile(), do not print anything extra to stdout, just run
the code.

Lib/lib-tk/Tkinter.py

index 31b072cb4cb3c9bf3a1b64550bddeb6e1b511738..5f1465cd5167d45c6f4987c5ceab7fac10207bfb 100644 (file)
@@ -1530,16 +1530,12 @@ class Tk(Misc, Wm):
         dir = {'self': self}
         exec 'from Tkinter import *' in dir
         if os.path.isfile(class_tcl):
-            print 'source', `class_tcl`
             self.tk.call('source', class_tcl)
         if os.path.isfile(class_py):
-            print 'execfile', `class_py`
             execfile(class_py, dir)
         if os.path.isfile(base_tcl):
-            print 'source', `base_tcl`
             self.tk.call('source', base_tcl)
         if os.path.isfile(base_py):
-            print 'execfile', `base_py`
             execfile(base_py, dir)
     def report_callback_exception(self, exc, val, tb):
         """Internal function. It reports exception on sys.stderr."""