branch | stable |
changeset 5377 | 84d14ddfae13 |
parent 5368 | d321e4b62a10 |
child 5383 | fbe7416104c6 |
--- 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]