summaryrefslogtreecommitdiff
path: root/lib/git
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2008-06-11 19:51:09 +0200
committerFlorian Apolloner <florian@apolloner.eu>2008-06-11 19:51:09 +0200
commit8a0eee3989abd3a5d6d47d0298bd056a954d379b (patch)
treedd4ceb509424286fffada5f8af14ec07f736a39d /lib/git
parent2effd7a10798a1e8e53bb546a67b2ccdea882c50 (diff)
downloadgitpython-8a0eee3989abd3a5d6d47d0298bd056a954d379b.tar.gz
stupid typo *grr*
Diffstat (limited to 'lib/git')
-rw-r--r--lib/git/repo.py4
1 files changed, 2 insertions, 2 deletions
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)