Mercurial > kallithea
changeset 6584:f9dc10c33d07
lib: drop unused make_ui parameter checkpaths
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 11 Apr 2017 01:34:00 +0200 |
parents | 8a60eb2b7603 |
children | 84cca4c4808b |
files | kallithea/lib/middleware/simplehg.py kallithea/lib/utils.py |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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' """