Do not stop when a tool directory is missing (all svn flavors).

This commit is contained in:
Jean-Paul Chaput 2010-03-19 10:01:54 +00:00
parent 79158f8eec
commit 6857328dfe
1 changed files with 6 additions and 0 deletions

View File

@ -197,6 +197,9 @@ class ProjectBuilder:
def _svnStatus ( self, tool ):
toolSourceDir = os.path.join ( self._sourceDir , tool )
if not os.path.isdir(toolSourceDir):
print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir
return
os.chdir ( toolSourceDir )
print "Checking SVN status of tool: ", tool
@ -208,6 +211,9 @@ class ProjectBuilder:
def _svnUpdate ( self, tool ):
toolSourceDir = os.path.join ( self._sourceDir , tool )
if not os.path.isdir(toolSourceDir):
print "[ERROR] Missing tool source directory: \"%s\" (skipped)." % toolSourceDir
return
os.chdir ( toolSourceDir )
print "Doing a SVN update of tool: ", tool