diff -r 2c3f14bc2590 -r 84d14ddfae13 web/formwidgets.py --- a/web/formwidgets.py Thu Apr 22 19:37:56 2010 +0000 +++ b/web/formwidgets.py Thu Apr 22 19:48:04 2010 +0000 @@ -515,7 +515,6 @@ @classmethod def add_localized_infos(cls, req): """inserts JS variables defining localized months and days""" - # import here to avoid dependancy from cubicweb to simplejson _ = req._ monthnames = [_(mname) for mname in cls.monthnames] daynames = [_(dname) for dname in cls.daynames]