Oops, test for the right attribute of json
authorPaul Crowley <paul@lshift.net>
Tue, 06 Sep 2011 11:11:29 +0100
changeset 312 4e65f8242c0b
parent 311 3cbde66305e4
child 313 f597eb3b5aaf
child 315 30d35aed0ae2
Oops, test for the right attribute of json
src/mercurialserver/servelog.py
--- a/src/mercurialserver/servelog.py	Tue Sep 06 11:02:31 2011 +0100
+++ b/src/mercurialserver/servelog.py	Tue Sep 06 11:11:29 2011 +0100
@@ -12,7 +12,7 @@
 
 try:
     import json
-    json.log
+    json.dumps
 except ImportError:
     import simplejson as json