Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Learn Renku
Teaching on Renku
Advanced teaching automation
Commits
5417c2b4
Commit
5417c2b4
authored
Jul 22, 2022
by
Cyril Matthey-Doret
Browse files
remove extraneous token arg from clone_forks()
parent
2174f137
Pipeline
#388585
passed with stage
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
teach_auto/clone_forks.py
View file @
5417c2b4
...
...
@@ -23,7 +23,7 @@ def clone_fork(url: str, out_path: Path, commit: str):
@
click
.
command
()
@
click
.
argument
(
"out_dir"
,
type
=
click
.
Path
(
file_okay
=
False
,
exists
=
False
))
@
click
.
argument
(
"forks"
,
type
=
click
.
File
(
mode
=
"r"
),
default
=
sys
.
stdin
)
def
clone_forks
(
out_dir
,
forks
,
token
):
def
clone_forks
(
out_dir
,
forks
):
"""Clone all forks from input JSON into target directory. The input json should be produced by collect-forks."""
forks
=
json
.
load
(
forks
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment