Skip to content

Commit

Permalink
clearer error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfire1900 committed Oct 4, 2023
1 parent 4af842d commit 95016b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/yapf_third_party/_ylib2to3/pgen2/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _generate_pickle_name(gt):
tail = ''
yapf_version = pkgutil.get_data('yapf', 'VERSION')
if yapf_version is None:
raise RuntimeError('Unable to get YAPF version')
raise RuntimeError('Unable to get YAPF version from package data')
cache_dir = user_cache_dir(
appname='YAPF',
appauthor='Google',
Expand Down

0 comments on commit 95016b6

Please sign in to comment.