# HG changeset patch # User Mads Kiilerich # Date 1491867240 -7200 # Node ID f9dc10c33d07dd3c1cd392d89d1d47d894041a00 # Parent 8a60eb2b7603c371c4bd8a99a603d8dbc83a99a5 lib: drop unused make_ui parameter checkpaths diff -r 8a60eb2b7603 -r f9dc10c33d07 kallithea/lib/middleware/simplehg.py --- a/kallithea/lib/middleware/simplehg.py Sun Apr 09 00:13:17 2017 +0200 +++ b/kallithea/lib/middleware/simplehg.py Tue Apr 11 01:34:00 2017 +0200 @@ -226,7 +226,7 @@ hgrc = os.path.join(repo_path, '.hg', 'hgrc') - repoui = make_ui('file', hgrc, False) + repoui = make_ui('file', hgrc) if repoui: #overwrite our ui instance with the section from hgrc file diff -r 8a60eb2b7603 -r f9dc10c33d07 kallithea/lib/utils.py --- a/kallithea/lib/utils.py Sun Apr 09 00:13:17 2017 +0200 +++ b/kallithea/lib/utils.py Tue Apr 11 01:34:00 2017 +0200 @@ -316,13 +316,12 @@ 'ui', 'web', ] -def make_ui(read_from='file', path=None, checkpaths=True, clear_session=True): +def make_ui(read_from='file', path=None, clear_session=True): """ A function that will read python rc files or database and make an mercurial ui object from read options :param path: path to mercurial config file - :param checkpaths: check the path :param read_from: read from 'file' or 'db' """