From 8a0eee3989abd3a5d6d47d0298bd056a954d379b Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Wed, 11 Jun 2008 19:51:09 +0200 Subject: stupid typo *grr* --- lib/git/repo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/git/repo.py') diff --git a/lib/git/repo.py b/lib/git/repo.py index f531617d..5853356e 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -272,8 +272,8 @@ class Repo(object): ``GitPython.Repo`` (the newly created repo) """ - if mkdir and not os.path.exists(gitpath): - os.makedirs(gitpath, 0755) + if mkdir and not os.path.exists(path): + os.makedirs(path, 0755) git = Git(path) output = git.init(**kwargs) -- cgit v1.2.1