Skip to content

Commit

Permalink
Merge pull request #3800 from kmaehashi/bp-3669-v7-fix-error-msg
Browse files Browse the repository at this point in the history
[backport] Fix error message broken
  • Loading branch information
mergify[bot] committed Aug 17, 2020
2 parents 66b0dd0 + 11d98db commit 3c7adeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cupy/cusparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def _get_version(x):
if isinstance(x, dict):
os_name = platform.system()
if os_name not in x:
msg = 'No version information specified for the OS {}'.os_name
msg = 'No version information specified for the OS: {}'.format(
os_name)
raise ValueError(msg)
return x[os_name]
return x
Expand Down

0 comments on commit 3c7adeb

Please sign in to comment.