Commit f72f71fc authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

oops

parent cb8221c3
Pipeline #14765 failed with stage
in 53 seconds
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment