Jelmer Vernooij 16 лет назад
Родитель
Сommit
539ff6a9b9
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      dulwich/repo.py

+ 3 - 0
dulwich/repo.py

@@ -219,6 +219,9 @@ class Repo(object):
     history.reverse()
     return history
 
+  def __repr__(self):
+      return "<Repo at %r>" % self.path
+
   @classmethod
   def init_bare(cls, path, mkdir=True):
       for d in [["objects"],