diff options
| author | D.Dotsenko <dotsa@hotmail.com> | 2010-10-29 22:07:48 -0700 |
|---|---|---|
| committer | D.Dotsenko <dotsa@hotmail.com> | 2010-10-29 22:07:48 -0700 |
| commit | 61dbe884a2b11a53b7a6c774da2560c1c776c4de (patch) | |
| tree | 97df9f52e0befa8432b524aedcf571c501b23e5f /lib | |
| parent | cfd2121eda5fadd18fba6819f90efb8868fad14a (diff) | |
| download | GitPython-61dbe884a2b11a53b7a6c774da2560c1c776c4de.tar.gz GitPython-61dbe884a2b11a53b7a6c774da2560c1c776c4de.zip | |
Fixing recursion issue introduced with submodule support
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/git/submodule.py | 2 | ||||
| -rw-r--r-- | lib/git/tree.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/submodule.py b/lib/git/submodule.py index c6c506f4..c878256d 100755 --- a/lib/git/submodule.py +++ b/lib/git/submodule.py @@ -29,7 +29,7 @@ class Submodule(object): """ def __init__(self, repo=None, id=None, mode=None, name='', - commit_context=None, path=''): + commit_context='', path=''): """ Initialize a newly instanced Submodule diff --git a/lib/git/tree.py b/lib/git/tree.py index 45f5fdcb..32f84052 100644 --- a/lib/git/tree.py +++ b/lib/git/tree.py @@ -10,7 +10,7 @@ import blob import submodule class Tree(LazyMixin): - def __init__(self, repo, id, mode=None, name=None, commit_context = None, path = ''): + def __init__(self, repo, id, mode=None, name=None, commit_context = '', path = ''): LazyMixin.__init__(self) self.repo = repo self.id = id |
