forked from infra/otc-metadata
fixing too long line
This commit is contained in:
parent
c370ffe06a
commit
906a426a48
@ -113,7 +113,13 @@ def process_repositories(args, service):
|
|||||||
|
|
||||||
source_path = pathlib.Path(copy_from, doc["rst_location"])
|
source_path = pathlib.Path(copy_from, doc["rst_location"])
|
||||||
target_path = pathlib.Path(copy_to, 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"]])
|
repo_to.index.add([doc["rst_location"]])
|
||||||
if len(repo_to.index.diff("HEAD")) == 0:
|
if len(repo_to.index.diff("HEAD")) == 0:
|
||||||
# Nothing to commit
|
# Nothing to commit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user