summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-08 10:58:28 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-08 22:59:54 +0200
commit600bd69a81e4858293e6bc791b95568f0a370ae3 (patch)
tree3f97e58283460af612f21d0f6142174d35cae74d
parent33401c3b9b99bac3ae13a90b657cff94dfe7125b (diff)
downloadgitpython-600bd69a81e4858293e6bc791b95568f0a370ae3.tar.gz
git.git.Git.__init__ takes None as default argument as the execute method handles this correctly
-rw-r--r--lib/git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/cmd.py b/lib/git/cmd.py
index 9cbad673..a1b85cdc 100644
--- a/lib/git/cmd.py
+++ b/lib/git/cmd.py
@@ -24,7 +24,7 @@ class Git(object):
"""
The Git class manages communication with the Git binary
"""
- def __init__(self, git_dir):
+ def __init__(self, git_dir=None):
super(Git, self).__init__()
self.git_dir = git_dir