Skip to content

Commit

Permalink
rename param
Browse files Browse the repository at this point in the history
  • Loading branch information
olivia-hong committed Nov 11, 2021
1 parent 6a00e95 commit 08c11c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cartography/intel/github/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ def _transform_requirements_txt(
"""
if req_file_contents and req_file_contents.get('text'):
text_contents = req_file_contents['text']
reqs_list = text_contents.split("\n")
_transform_python_requirements(reqs_list, repo_url, out_requirements_files)
requirements_list = text_contents.split("\n")
_transform_python_requirements(requirements_list, repo_url, out_requirements_files)


def _transform_setup_cfg_requirements(
Expand All @@ -283,8 +283,8 @@ def _transform_setup_cfg_requirements(
exc_info=True,
)
return
reqs_list = parse_setup_cfg(setup_cfg)
_transform_python_requirements(reqs_list, repo_url, out_requirements_files)
requirements_list = parse_setup_cfg(setup_cfg)
_transform_python_requirements(requirements_list, repo_url, out_requirements_files)


def _transform_python_requirements(
Expand Down

0 comments on commit 08c11c3

Please sign in to comment.