[Treepkg-commits] r483 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 10 17:46:12 CET 2010


Author: bricks
Date: 2010-11-10 17:46:12 +0100 (Wed, 10 Nov 2010)
New Revision: 483

Modified:
   trunk/treepkg/git.py
Log:
fixed typo


Modified: trunk/treepkg/git.py
===================================================================
--- trunk/treepkg/git.py	2010-11-10 14:53:40 UTC (rev 482)
+++ trunk/treepkg/git.py	2010-11-10 16:46:12 UTC (rev 483)
@@ -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))



More information about the Treepkg-commits mailing list