Small edits.

This commit is contained in:
Sean B. Palmer
2009-01-19 16:47:05 +00:00
parent f9aff27534
commit 2299ef2588
3 changed files with 5 additions and 4 deletions

View File

@@ -19,7 +19,6 @@ def json(text):
if r_json.match(r_string.sub('', text)):
text = r_string.sub(lambda m: 'u' + m.group(1), text)
return eval(text.strip(' \t\r\n'), env, {})
print text
raise ValueError('Input must be serialised JSON.')
def search(query):