Merge Dave's fixes for the compatibility tests and web.
[jelmer/dulwich-libgit2.git] / dulwich / web.py
index 06d19e9a26a745674644087578031aefe02fa372..7b790ba8637c12a987205f8be4c380aa89dd4768 100644 (file)
@@ -59,7 +59,7 @@ def url_prefix(mat):
 
 def get_repo(backend, mat):
     """Get a Repo instance for the given backend and URL regex match."""
-    return backend.open_repository(url_prefix(mat)).repo
+    return backend.open_repository(url_prefix(mat))
 
 
 def send_file(req, f, content_type):