diff --git a/kallithea/lib/indexers/daemon.py b/kallithea/lib/indexers/daemon.py --- a/kallithea/lib/indexers/daemon.py +++ b/kallithea/lib/indexers/daemon.py @@ -110,7 +110,7 @@ class WhooshIndexingDaemon(object): self.initial = False def _get_index_revision(self, repo): - db_repo = Repository.get_by_repo_name(repo.name_unicode) + db_repo = Repository.get_by_repo_name(safe_unicode(repo.name)) landing_rev = 'tip' if db_repo: _rev_type, _rev = db_repo.landing_rev diff --git a/kallithea/lib/vcs/backends/base.py b/kallithea/lib/vcs/backends/base.py --- a/kallithea/lib/vcs/backends/base.py +++ b/kallithea/lib/vcs/backends/base.py @@ -98,10 +98,6 @@ class BaseRepository(object): """ raise NotImplementedError - @property - def name_unicode(self): - return safe_unicode(self.name) - @LazyProperty def owner(self): raise NotImplementedError