~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/bsondump

  • Committer: William Grant
  • Date: 2012-01-01 03:10:25 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101031025-pcl0na3sbgfrztcw
utilities

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/python
2
 
import bson
 
2
 
3
3
from pprint import pprint
4
4
import sys
5
5
 
 
6
import bson
 
7
 
 
8
 
6
9
pprint(bson.decode_all(file(sys.argv[1], 'rb').read()))