Skip to content

Commit 7024be0

Browse files
author
Vladimir Kotal
committed
fix style
1 parent 13dcf26 commit 7024be0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

opengrok-tools/src/main/python/opengrok_tools/utils/mirror.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def get_repos_for_project(project_name, uri, source_root,
8484

8585
if ignored_repos:
8686
r_path = os.path.relpath(repo_path, '/' + project_name)
87-
if any(map(lambda repo: fnmatch.fnmatch(r_path, repo), ignored_repos)):
87+
if any(map(lambda repo: fnmatch.fnmatch(r_path, repo),
88+
ignored_repos)):
8889
logger.info("repository {} ignored".format(repo_path))
8990
continue
9091

opengrok-tools/src/main/python/opengrok_tools/utils/opengrok.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def get_repos(logger, project, uri):
3030
:param logger: logger instance
3131
:param project: project name
3232
:param uri: web application URI
33-
:return: list of repository paths (can be empty if no match) or None on failure
33+
:return: list of repository paths (can be empty if no match)
34+
or None on failure
3435
"""
3536

3637
r = get(logger, get_uri(uri, 'api', 'v1', 'projects',

0 commit comments

Comments
 (0)