Skip to content

Commit

Permalink
Update test runner for changes in the manifest API.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Oct 20, 2014
1 parent 7073c41 commit 418ec21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/runner/update_manifest.py
Expand Up @@ -10,9 +10,9 @@
import manifest

def main(request, response):
manifest_path = os.path.join(root, "MANIFEST.json")
manifest.update_manifest(root, **{"rebuild": False,
"local_changes": True,
"path": manifest_path})
path = os.path.join(root, "MANIFEST.json")
manifest_file = manifest.load(path)
manifest.update(root, "/", manifest_file)
manifest.write(manifest_file, path)

return [("Content-Type", "application/json")], json.dumps({"url": "/MANIFEST.json"})

0 comments on commit 418ec21

Please sign in to comment.