Skip to content

Commit

Permalink
fix(get deps): change name to package_name
Browse files Browse the repository at this point in the history
  • Loading branch information
mostaphaRoudsari committed Sep 12, 2023
1 parent 200aa22 commit 564ad89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pollination_dsl/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def get_requirement_version(package_name, dependency_name):
name, version = package.split(' (')
except ValueError as e:
print(
f'Failed to parse the dependency version for {name} from {package}. '
f'The version will not be set:\n{str(e)}'
f'Failed to parse the dependency version for {package_name} '
f'from {package}. The version will not be set:\n{str(e)}'
)
requirements[name] = ''
else:
Expand Down

0 comments on commit 564ad89

Please sign in to comment.