Skip to content

Commit

Permalink
Merge pull request #102 from vbalbp/adapt_utils_name_change
Browse files Browse the repository at this point in the history
bump inspire-utils and inspire-schemas version
  • Loading branch information
vbalbp committed Dec 4, 2018
2 parents 5f457eb + a0d7251 commit ad7e7e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inspire_query_parser/utils/visitor_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def generate_minimal_name_variations(author_name):
lastnames = parsed_name.last.replace('-', ' ')

non_lastnames = ' '.join(
parsed_name.first_list + parsed_name.middle_list + parsed_name.suffix_list
parsed_name.first_list + parsed_name.suffix_list
)
# Strip extra whitespace added if any of middle_list and suffix_list are empty.
non_lastnames = non_lastnames.strip().replace('-', ' ')
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
]

install_requires = [
'inspire-schemas~=58.0,>=58.0.0',
'inspire-schemas~=59.0,>=59.0.0',
'inspire-utils~=3.0,>=3.0.0',
'pypeg2~=2.0,>=2.15.2',
'python-dateutil~=2.0,>=2.6.1',
'six~=1.0,>=1.11.0',
Expand Down

0 comments on commit ad7e7e3

Please sign in to comment.