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

Commit

Permalink
Merge pull request #4161 from gratipay/avoid-ijson
Browse files Browse the repository at this point in the history
Avoid ijson if we can help it
  • Loading branch information
chadwhitacre authored Oct 27, 2016
2 parents a21d91f + 7ba947c commit 41cec1f
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 41cec1f

Please sign in to comment.