Skip to content

Commit

Permalink
Fix to account for change in bibtexparser 0.6.1. Learned my lesson an…
Browse files Browse the repository at this point in the history
…d froze requirement versions.
  • Loading branch information
Justin Littman committed Aug 12, 2015
1 parent 7d70a52 commit c8b74aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/works.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def crosswalk(self, orcid_profile, person_uri, graph):

#Work-type
work_class = work_type_map[work_type]
if work_type == "TRANSLATION" and bibtex and bibtex["type"] in bibtex_type_map:
work_class = bibtex_type_map[bibtex["type"]]
if work_type == "TRANSLATION" and bibtex and bibtex["ENTRYTYPE"] in bibtex_type_map:
work_class = bibtex_type_map[bibtex["ENTRYTYPE"]]

#Construct work uri
work_uri = self.identifier_strategy.to_uri(work_class, {"name": title})
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rdflib
requests
bibtexparser
flask
vcrpy
mock
rdflib==4.2.0
requests==2.7.0
bibtexparser==0.6.1
flask==0.10.1
vcrpy==1.7.0
mock==1.3.0

0 comments on commit c8b74aa

Please sign in to comment.