From b50b492b69d0e3b78f3066b5e7ea27717cc25af8 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 23 Mar 2010 09:36:38 +0000 Subject: [PATCH] Correct bugs in the svn-checkout command. --- bootstrap/buildCoriolis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index b55de300..0e5351f9 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -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