]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
rtfm right
authorHolger Levsen <holger@layer-acht.org>
Sat, 22 Oct 2011 12:09:12 +0000 (14:09 +0200)
committerHolger Levsen <holger@layer-acht.org>
Sat, 22 Oct 2011 12:09:12 +0000 (14:09 +0200)
debian_build.py

index b0958b7d86239858f0b25ec75369da5337fae689..db89a09f681eec6a6bf1f03f3bfb53223d8b5a5f 100755 (executable)
@@ -306,8 +306,9 @@ if __name__ == '__main__':
         exit_error()
 
     # now init and update submodules
-    repo.submodule('init')
-    repo.submodule('update')
+    git = repo.git
+    git.submodule('init')
+    git.submodule('update')
 
     # we need to make sure our jenkins config is used, so let's delete any 
     # other config available in repository that might be prefered