Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a base branch
Choose a head branch
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on May 08, 2018
Commits on May 09, 2018
Showing with 5 additions and 2 deletions.
  1. +5 −2 conductor/blueprints/package/controllers.py
@@ -2,6 +2,7 @@
import logging
import re
import os
import re
import json
from six import StringIO
@@ -301,11 +302,13 @@ def run_hooks(name, token, pipeline):
except jwt.InvalidTokenError:
return None
_, datapackage_url, _, _, _, _, _, _ = package_registry.get_raw(name)
# Fix datastore.openspending.org url
# Fix datastore.openspending.org url
datapackage_url = \
re.sub(r'https?://datastore\.openspending\.org/',
'https://s3.amazonaws.com/datastore.openspending.org/',
datapackage_url)
re.sub(r'/final/datapackage.json', '/datapackage.json', datapackage_url))
json_ld_payload = {
"@context": {
"@vocab": "http://schema.org/",

No commit comments for this range