# HG changeset patch # User Aurelien Campeas # Date 1272036767 -7200 # Node ID e0ab7433e6401c378ad0ae6ea6eb093c10cd41de # Parent 105011657405e63ae33c7cc9a0565a5a4458e0f3# Parent 899d93e4dbe023500ef08d915d9940b5f1ef326c merge diff -r 105011657405 -r e0ab7433e640 cwconfig.py --- a/cwconfig.py Fri Apr 23 17:31:46 2010 +0200 +++ b/cwconfig.py Fri Apr 23 17:32:47 2010 +0200 @@ -226,7 +226,7 @@ }), ('short-line-size', {'type' : 'int', - 'default': 40, + 'default': 80, 'help': _('maximum number of characters in short description'), 'group': 'navigation', }), diff -r 105011657405 -r e0ab7433e640 devtools/test/unittest_testlib.py diff -r 105011657405 -r e0ab7433e640 devtools/testlib.py --- a/devtools/testlib.py Fri Apr 23 17:31:46 2010 +0200 +++ b/devtools/testlib.py Fri Apr 23 17:32:47 2010 +0200 @@ -14,11 +14,6 @@ from math import log from contextlib import contextmanager -try: - import json -except ImportError: - import simplejson as json - import yams.schema from logilab.common.testlib import TestCase, InnerTest @@ -35,7 +30,7 @@ from cubicweb.web import Redirect, application from cubicweb.devtools import SYSTEM_ENTITIES, SYSTEM_RELATIONS, VIEW_VALIDATORS from cubicweb.devtools import fake, htmlparser - +from cubicweb.utils import json # low-level utilities ########################################################## diff -r 105011657405 -r e0ab7433e640 test/unittest_utils.py --- a/test/unittest_utils.py Fri Apr 23 17:31:46 2010 +0200 +++ b/test/unittest_utils.py Fri Apr 23 17:32:47 2010 +0200 @@ -14,11 +14,7 @@ from cubicweb.utils import make_uid, UStringIO, SizeConstrainedList, RepeatList try: - try: - import json - except ImportError: - import simplejson as json - from cubicweb.utils import CubicWebJsonEncoder + from cubicweb.utils import CubicWebJsonEncoder, json except ImportError: json = None diff -r 105011657405 -r e0ab7433e640 utils.py --- a/utils.py Fri Apr 23 17:31:46 2010 +0200 +++ b/utils.py Fri Apr 23 17:32:47 2010 +0200 @@ -240,7 +240,7 @@ if self.jsvars: w(u'