fixing too long line

This commit is contained in:
vladimirhasko 2023-01-29 18:15:11 +00:00
parent c370ffe06a
commit 906a426a48

View File

@ -113,7 +113,13 @@ def process_repositories(args, service):
source_path = pathlib.Path(copy_from, doc["rst_location"])
target_path = pathlib.Path(copy_to, doc["rst_location"])
sync(source_path, target_path, purge=True, create=True, exclude=['conf.py'])
sync(
source_path,
target_path,
purge=True,
create=True,
exclude=['conf.py']
)
repo_to.index.add([doc["rst_location"]])
if len(repo_to.index.diff("HEAD")) == 0:
# Nothing to commit