Correct bugs in the svn-checkout command.

This commit is contained in:
Jean-Paul Chaput 2010-03-23 09:36:38 +00:00
parent 15a61c5f96
commit b50b492b69
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class Project:
def getTools ( self ): return self._tools
def getRepository ( self ): return self._repository
def getActives ( self ): return self._actives
def hasTool ( self, tool ): return self._tools.has_key(tool)
def hasTool ( self, tool ): return tool in self._tools
def desactivate ( self ):
self._active = []
@ -239,7 +239,7 @@ class ProjectBuilder:
print "[ERROR] Project \"%s\" isn't associated to a repository." % project.getName()
return
toolSvnTrunkDir = os.path.join ( self._coriolisSvnDir , tool, "trunk" )
toolSvnTrunkDir = os.path.join ( project.getRepository(), tool, "trunk" )
os.chdir ( self._sourceDir )
print "Doing a SVN checkout of tool: ", tool