diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2008-06-21 23:16:38 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2008-06-21 23:16:38 +0200 |
| commit | 7fda0ec787de5159534ebc8b81824920d9613575 (patch) | |
| tree | 6ab04055fa8857d05ac3b77287ee41657c04fb3b /lib/git | |
| parent | c63cd9873bf733c068a5f183442ec82873fef1fc (diff) | |
| download | gitpython-7fda0ec787de5159534ebc8b81824920d9613575.tar.gz | |
added os.path.expanduser to the repo initialization
Diffstat (limited to 'lib/git')
| -rw-r--r-- | lib/git/repo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py index 5a9855ac..7621c67b 100644 --- a/lib/git/repo.py +++ b/lib/git/repo.py @@ -27,6 +27,7 @@ class Repo(object): Returns ``GitPython.Repo`` """ + path = os.path.expanduser(path) if not os.path.exists(path): raise NoSuchPathError(path) |
