Bug on quiet.

This commit is contained in:
Jean-Paul Chaput 2010-03-19 10:07:12 +00:00
parent d1bf7ae5c9
commit 38c5dd899e
1 changed files with 4 additions and 3 deletions

View File

@ -202,7 +202,7 @@ class ProjectBuilder:
if not os.path.isdir(toolSourceDir): if not os.path.isdir(toolSourceDir):
if not self._quiet: if not self._quiet:
print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir
return return
os.chdir ( toolSourceDir ) os.chdir ( toolSourceDir )
print "Checking SVN status of tool: ", tool print "Checking SVN status of tool: ", tool
@ -278,8 +278,9 @@ class ProjectBuilder:
if not self._environment.has_key(topVariable): if not self._environment.has_key(topVariable):
self._environment[ topVariable ] = self._installDir self._environment[ topVariable ] = self._installDir
self._environment[ topUserVariable ] = self._installDir self._environment[ topUserVariable ] = self._installDir
print "Setting %s = \"%s\"." % (topVariable ,self._environment[topVariable]) if not self._quiet:
print "Setting %s = \"%s\"." % (topUserVariable,self._environment[topUserVariable]) print "Setting %s = \"%s\"." % (topVariable ,self._environment[topVariable])
print "Setting %s = \"%s\"." % (topUserVariable,self._environment[topUserVariable])
if projectName: if projectName:
project = self.getProject ( projectName ) project = self.getProject ( projectName )