Mercurial > hg > config
changeset 689:6f48a3e5ab41
STUB: python/jsonex.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 02 Jun 2014 11:25:31 -0700 |
parents | ad8146c60c4d |
children | d586ea538d36 |
files | python/jsonex.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/python/jsonex.py Mon Jun 02 11:21:46 2014 -0700 +++ b/python/jsonex.py Mon Jun 02 11:25:31 2014 -0700 @@ -32,9 +32,9 @@ if options.object: for o in options.object: - foo = arg.split('.') # split into objects - # TODO: split into slice notation - pass # TODO + base = obj + for part in o.strip().split('.'): # split into objects + raise NotImplementedError('TODO') else: print json.dumps(obj, indent=2, sort_keys=True)