added os.path.expanduser to the repo initialization
authorFlorian Apolloner <florian@apolloner.eu>
Sat, 21 Jun 2008 21:16:38 +0000 (23:16 +0200)
committerFlorian Apolloner <florian@apolloner.eu>
Sat, 21 Jun 2008 21:16:38 +0000 (23:16 +0200)
lib/git/repo.py

index 5a9855a..7621c67 100644 (file)
@@ -27,6 +27,7 @@ class Repo(object):
         Returns
             ``GitPython.Repo``
         """
+        path = os.path.expanduser(path)
         if not os.path.exists(path):
             raise NoSuchPathError(path)