[PATCH 15 of 52 Narval cube] fix name '_' is not defined

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 11:34:15 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585419293 0
#      Sat Mar 28 18:14:53 2020 +0000
# Node ID 1cec8717eca31004f7291f262678540c7b339692
# Parent  403f8d3effb2d27673fe6eef131bbf1f5e8da588
fix name '_' is not defined

diff --git a/cubicweb_narval/migration/precreate.py b/cubicweb_narval/migration/precreate.py
--- a/cubicweb_narval/migration/precreate.py
+++ b/cubicweb_narval/migration/precreate.py
@@ -1,3 +1,4 @@
+from cubicweb import _
 create_entity('CWGroup', name=_('narval'))
 create_entity('CWUser', login=_('narval'), upassword='narval0')
 rql('SET U in_group G WHERE U login "narval", G name "narval"')




More information about the cubicweb-devel mailing list