Changeset - 48f8c73a94f2
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 9 years ago 2016-10-08 20:22:26
thomas.de.schampheleire@gmail.com
helpers: remove unused wrapper method is_following_repo

kallithea.lib.helpers is a plain wrapper around ScmModel.is_following_repo
and is used nowhere.
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/helpers.py
Show inline comments
 
@@ -359,16 +359,12 @@ def pygmentize_annotation(repo_name, fil
 
            return uri
 
        return _url_func
 

	
 
    return literal(markup_whitespace(annotate_highlight(filenode, url_func(repo_name), **kwargs)))
 

	
 

	
 
def is_following_repo(repo_name, user_id):
 
    from kallithea.model.scm import ScmModel
 
    return ScmModel().is_following_repo(repo_name, user_id)
 

	
 
class _Message(object):
 
    """A message returned by ``Flash.pop_messages()``.
 

	
 
    Converting the message to a string returns the message text. Instances
 
    also have the following attributes:
 

	
0 comments (0 inline, 0 general)