Changeset - e2c34c5fe820
[Not reviewed]
default
0 2 0
Mads Kiilerich - 6 years ago 2019-12-25 21:22:18
mads@kiilerich.com
Grafted from: eb3c1f944e88
vcs: drop Repository.name_unicode

It wouldn't make much sense in py3 ... and is barely used.
2 files changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/indexers/daemon.py
Show inline comments
 
@@ -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
kallithea/lib/vcs/backends/base.py
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)