Commit 0cd6e1ff authored by Julien Cristau's avatar Julien Cristau
Browse files

[devtools] stop using in cwctl newcube and i18ncube

parent 625b951b4a1a
......@@ -26,7 +26,7 @@ __docformat__ = "restructuredtext en"
# possible (for cubicweb-ctl reactivity, necessary for instance for usable bash
# completion). So import locally in command helpers.
import sys
from datetime import datetime
from datetime import datetime, date
from os import mkdir, chdir, path as osp
from warnings import warn
......@@ -128,7 +128,7 @@ def _generate_schema_pot(w, vreg, schema, libconfig=None):
from cubicweb.i18n import add_msg
from cubicweb.schema import NO_I18NCONTEXT, CONSTRAINTS
w('# schema pot file, generated on %s\n'
%'%Y-%m-%d %H:%M:%S'))
% datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))
w('# \n')
w('# singular and plural forms for each entity type\n')
......@@ -660,7 +660,7 @@ layout, and a full featured cube with "full" layout.',
'longdesc' : longdesc or shortdesc,
'dependencies' : dependencies,
'version' : cubicwebversion,
'year' : str(,
'year' : str(,
'author': self['author'],
'author-email': self['author-email'],
'author-web-site': self['author-web-site'],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment