[Python-checkins] CVS: distutils/distutils/command bdist_rpm.py,1.7,1.8
Greg Ward
python-dev@python.org
Thu, 1 Jun 2000 19:01:54 -0700
Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv6759/command
Modified Files:
bdist_rpm.py
Log Message:
Only print debugging output if DEBUG true.
Index: bdist_rpm.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/bdist_rpm.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** bdist_rpm.py 2000/06/02 01:52:04 1.7
--- bdist_rpm.py 2000/06/02 02:01:51 1.8
***************
*** 6,14 ****
# created 2000/04/25, by Harry Henry Gebel
! __revision__ = "$Id: bdist_rpm.py,v 1.7 2000/06/02 01:52:04 gward Exp $"
import os, string, re
from types import *
! from distutils.core import Command
from distutils.util import get_platform, write_file
from distutils.errors import *
--- 6,14 ----
# created 2000/04/25, by Harry Henry Gebel
! __revision__ = "$Id: bdist_rpm.py,v 1.8 2000/06/02 02:01:51 gward Exp $"
import os, string, re
from types import *
! from distutils.core import Command, DEBUG
from distutils.util import get_platform, write_file
from distutils.errors import *
***************
*** 248,256 ****
def run (self):
! print "before _get_package_data():"
! print "vendor =", self.vendor
! print "packager =", self.packager
! print "doc_files =", self.doc_files
! print "changelog =", self.changelog
# make directories
--- 248,257 ----
def run (self):
! if DEBUG:
! print "before _get_package_data():"
! print "vendor =", self.vendor
! print "packager =", self.packager
! print "doc_files =", self.doc_files
! print "changelog =", self.changelog
# make directories