common/uilib.py
branchtls-sprint
changeset 708 b4728112625f
parent 525 bd4e03297cf0
child 709 b21ee900c732
--- a/common/uilib.py	Tue Feb 17 22:37:59 2009 +0100
+++ b/common/uilib.py	Tue Feb 17 22:45:55 2009 +0100
@@ -17,7 +17,6 @@
 from cStringIO import StringIO
 from copy import deepcopy
 
-import simplejson
 
 from mx.DateTime import DateTimeType, DateTimeDeltaType
 
@@ -258,6 +257,7 @@
     elif vid:
         params.append(repr(vid))
     if extraparams:
+        import simplejson
         params.append(simplejson.dumps(extraparams))
     if swap:
         params.append('true')