Initial crack at the file module

This commit is contained in:
Michael DeHaan 2012-03-15 21:53:14 -04:00
commit be55145a1e
3 changed files with 237 additions and 5 deletions

View file

@ -206,6 +206,8 @@ def parse_json(data):
if key == 'rc':
value = int(value)
results[key] = value
if len(results.keys()) == 0:
return { "failed" : True, "parsed" : False, "msg" : data }
return results