Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Perfilov committed Nov 25, 2014
1 parent db5e52e commit da2ec4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckanext/datajson/build_datajson.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ def make_datajson_entry(package):
for r in package["resources"]:
if r["format"].lower() == "csv":
r["format"] = "text/csv"

for r in package["resources"]:
if r["format"].lower() == "json":
r["format"] = "application/json"

Expand Down

0 comments on commit da2ec4e

Please sign in to comment.