~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/bsondump

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-14 18:16:47 UTC
  • mfrom: (14515 devel)
  • mto: This revision was merged to the branch mainline in revision 14593.
  • Revision ID: launchpad@pqm.canonical.com-20111214181647-jh80eps1ndcy6hns
[rs=buildbot-poller] automatic merge from stable. Revisions: 14510,
        14511, 14512, 14513, 14514, 14515 included.

Show diffs side-by-side

added added

removed removed

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