Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Avoid ijson if we can help it #4161

Merged
merged 1 commit into from
Oct 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gratipay/package_managers/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import time
import uuid

import ijson.backends.yajl2_cffi as ijson
from gratipay.package_managers import readmes as _readmes


Expand Down Expand Up @@ -47,8 +46,10 @@ def serialize_one(out, package):


def serialize(args):
"""Consume raw JSON from the npm registry and spit out CSV for Postgres.
"""
"""
import ijson.backends.yajl2_cffi as ijson

path = args.path
parser = ijson.parse(open(path))
start = time.time()
Expand Down