[Python-checkins] CVS: distutils/distutils ccompiler.py,1.32,1.33
Greg Ward
python-dev@python.org
Thu, 3 Aug 2000 18:31:15 -0700
Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv1428
Modified Files:
ccompiler.py
Log Message:
Added 'debug_print()'.
Index: ccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/ccompiler.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** ccompiler.py 2000/08/04 01:28:39 1.32
--- ccompiler.py 2000/08/04 01:31:13 1.33
***************
*** 784,787 ****
--- 784,792 ----
print msg
+ def debug_print (self, msg):
+ from distutils.core import DEBUG
+ if DEBUG:
+ print msg
+
def warn (self, msg):
sys.stderr.write ("warning: %s\n" % msg)