Skip to content

Commit

Permalink
chore: code improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Apr 25, 2024
1 parent 8102e35 commit f18bc9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_repo_tools/find_dependencies/find_python_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def main(dirs=None, org=None):
"""
packages_url = []
if dirs is None:
repo_dirs = json.loads(sys.argv[1])
dirs = sys.argv[1:]

for repo_dir in repo_dirs:
for repo_dir in dirs:
with open(repo_dir) as fbase:
# Read each line (package name) in the file
for req in requirements.parse(fbase):
Expand Down

0 comments on commit f18bc9b

Please sign in to comment.