Skip to content

Commit

Permalink
REMOVE: force skipping github API and fallback to cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
endothermicdev committed Feb 17, 2024
1 parent 579418f commit b5419fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/reckless
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,9 @@ def source_element_from_repo_api(member: dict):


def populate_github_repo(url: str) -> list:
# FIXME: TESTING ONLY, REMOVE!
with tempfile.NamedTemporaryFile() as tmp:
raise HTTPError(url, 403, 'simulated ratelimit', {}, tmp)
# FIXME: This probably contains leftover cruft.
repo = url.split('/')
while '' in repo:
Expand Down

0 comments on commit b5419fc

Please sign in to comment.