Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe fix #326 #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions klaus/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ def __init__(self, path, namespace):
def path(self):
return self.dulwich_repo.path

@property
def object_store(self):
return self.dulwich_repo.object_store

@synchronized
def __getitem__(self, key):
return self.dulwich_repo[key]

@property
def name(self):
return repo_human_name(self.path)
Expand All @@ -70,10 +78,6 @@ def namespaced_name(self):
else:
return self.name

@synchronized
def __getitem__(self, key):
return self.dulwich_repo[key]

# TODO: factor out stuff into dulwich
@synchronized
def get_last_updated_at(self):
Expand Down
Loading