diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-08 10:58:28 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-08 22:59:54 +0200 |
commit | 600bd69a81e4858293e6bc791b95568f0a370ae3 (patch) | |
tree | 3f97e58283460af612f21d0f6142174d35cae74d | |
parent | 33401c3b9b99bac3ae13a90b657cff94dfe7125b (diff) | |
download | gitpython-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.py | 2 |
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 |