Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
f72f71fc
Commit
f72f71fc
authored
May 31, 2021
by
Guilhem Saurel
Browse files
oops
parent
cb8221c3
Pipeline
#14765
failed with stage
in 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
f72f71fc
...
...
@@ -106,7 +106,7 @@ class Forge(Links, NamedModel):
data
=
data
[
name
]
yield
from
data
page
=
api_next
(
self
.
source
,
req
)
if
limit
is
not
None
and
page
>
limit
:
if
limit
is
not
None
and
page
is
not
None
and
page
>
limit
:
break
def
headers
(
self
):
...
...
@@ -523,7 +523,7 @@ class Repo(TimeStampedModel):
return
[]
# TODO
yield
from
data
page
=
api_next
(
self
.
forge
.
source
,
req
)
if
limit
is
not
None
and
page
>
limit
:
if
limit
is
not
None
and
page
is
not
None
and
page
>
limit
:
break
def
api_update
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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