mirror of
https://github.com/servo/servo.git
synced 2025-07-08 07:53:40 +01:00
Print as JSON
This commit is contained in:
parent
8d6e17db09
commit
ed3c23d2f0
1 changed files with 1 additions and 4 deletions
|
@ -2,13 +2,10 @@
|
|||
|
||||
import os
|
||||
import json
|
||||
import pprint
|
||||
import taskcluster
|
||||
|
||||
event = json.loads(os.environ["GITHUB_EVENT"])
|
||||
print("GitHub event:")
|
||||
pprint.pprint(event)
|
||||
print("")
|
||||
print("GitHub event:\n%s\n" % json.dumps(event, sort_keys=True, indent=4, separators=(',', ': ')))
|
||||
|
||||
task_id = taskcluster.slugId()
|
||||
payload = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue