cubicweb/devtools/devctl.py
changeset 12508 a8c1ea390400
parent 12080 b8c4a8bab7b3
child 12567 26744ad37953
--- a/cubicweb/devtools/devctl.py	Thu Mar 14 14:45:35 2019 +0100
+++ b/cubicweb/devtools/devctl.py	Thu Mar 14 12:08:37 2019 +0100
@@ -30,7 +30,6 @@
 from datetime import datetime, date
 from os import getcwd, mkdir, chdir, path as osp
 import pkg_resources
-from warnings import warn
 
 from pytz import UTC
 
@@ -481,12 +480,7 @@
         print('-> extracting messages:', end=' ')
         potfiles = []
         # static messages
-        if osp.exists(osp.join('i18n', 'entities.pot')):
-            warn('entities.pot is deprecated, rename file '
-                 'to static-messages.pot (%s)'
-                 % osp.join('i18n', 'entities.pot'), DeprecationWarning)
-            potfiles.append(osp.join('i18n', 'entities.pot'))
-        elif osp.exists(osp.join('i18n', 'static-messages.pot')):
+        if osp.exists(osp.join('i18n', 'static-messages.pot')):
             potfiles.append(osp.join('i18n', 'static-messages.pot'))
         # messages from schema
         potfiles.append(self.schemapot())