Only print debugging output if DEBUG true.
This commit is contained in:
parent
2bd3f4250d
commit
efbd071016
|
@ -9,7 +9,7 @@ __revision__ = "$Id$"
|
||||||
|
|
||||||
import os, string, re
|
import os, string, re
|
||||||
from types import *
|
from types import *
|
||||||
from distutils.core import Command
|
from distutils.core import Command, DEBUG
|
||||||
from distutils.util import get_platform, write_file
|
from distutils.util import get_platform, write_file
|
||||||
from distutils.errors import *
|
from distutils.errors import *
|
||||||
|
|
||||||
|
@ -247,6 +247,7 @@ class bdist_rpm (Command):
|
||||||
|
|
||||||
def run (self):
|
def run (self):
|
||||||
|
|
||||||
|
if DEBUG:
|
||||||
print "before _get_package_data():"
|
print "before _get_package_data():"
|
||||||
print "vendor =", self.vendor
|
print "vendor =", self.vendor
|
||||||
print "packager =", self.packager
|
print "packager =", self.packager
|
||||||
|
|
Loading…
Reference in New Issue