# HG changeset patch # User Bjoern Ricks # Date 1289407572 0 # Node ID 5802cec2b0719e31df87c5bb982edfdee1ff9347 # Parent 0365b2c7ac00a98ad74497a48ad7fa09ed1643f0 fixed typo diff -r 0365b2c7ac00 -r 5802cec2b071 treepkg/git.py --- 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))