changeset 552:e68c07fd849a

fix: don't call update function anymore user repository method instead
author Bjoern Ricks <bricks@intevation.de>
date Tue, 08 Mar 2011 14:21:55 +0000
parents d2b294e4ede7
children 1af20baa532f
files treepkg/git.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/git.py	Tue Mar 08 14:02:19 2011 +0000
+++ b/treepkg/git.py	Tue Mar 08 14:21:55 2011 +0000
@@ -108,7 +108,7 @@
                     "%s and branch %s", self.localdir,
                     self.repository.url,
                     branch)
-            update(self.localdir, self.repository.branch)
+            self.repository.update(self.localdir, self.repository.branch)
         else:
             # TODO: better check if localdir contains files
             if os.path.exists(self.localdir):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)