~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/bsondump

  • Committer: Curtis Hovey
  • Date: 2011-08-12 14:39:51 UTC
  • mto: This revision was merged to the branch mainline in revision 13685.
  • Revision ID: curtis.hovey@canonical.com-20110812143951-74vfvrt37gtt4fz2
Sorted imports.

Show diffs side-by-side

added added

removed removed

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