changeset 520:5802cec2b071

fixed typo
author Bjoern Ricks <bricks@intevation.de>
date Wed, 10 Nov 2010 16:46:12 +0000
parents 0365b2c7ac00
children d26642ed6afa
files treepkg/git.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/git.py	Wed Nov 10 14:53:40 2010 +0000
+++ b/treepkg/git.py	Wed Nov 10 16:46:12 2010 +0000
@@ -109,7 +109,7 @@
             update(self.localdir, self.repository.branch)
         else:
             # TODO: better check if localdir contains files
-            if os.path.exist(self.localdir):
+            if os.path.exists(self.localdir):
                 raise GitError("Working copy dir %s already exists. " \
                         " files. Can't checkout from %s" % (self.localdir,
                             self.repository.url))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)