[PATCH 2 of 2 seda] [views] Remove debug print

Sylvain Thenault sylvain.thenault at logilab.fr
Thu Oct 12 17:00:09 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1507819820 -7200
#      Thu Oct 12 16:50:20 2017 +0200
# Node ID 2b05b50fba32fed57aa08431490f8a94f80159cf
# Parent  49e134799b43b02f952d93db92e8472ab2c66ba6
# Available At https://hg.logilab.org/review/cubes/seda
#              hg pull https://hg.logilab.org/review/cubes/seda -r 2b05b50fba32
[views] Remove debug print

diff --git a/cubicweb_seda/views/__init__.py b/cubicweb_seda/views/__init__.py
--- a/cubicweb_seda/views/__init__.py
+++ b/cubicweb_seda/views/__init__.py
@@ -188,11 +188,10 @@ orig_rel_label = primary.PrimaryView._re
 def _rel_label(self, entity, rschema, role, dispctrl):
     label = orig_rel_label(self, entity, rschema, role, dispctrl)
     try:
         element_name, desc = ETYPE_ATTR_DOC[(entity.cw_etype, rschema.type, role)]
     except KeyError:
-        print('nodoc for', entity.cw_etype, rschema.type, role)
         return label
     description = xml_escape(desc[0]) if desc else u''
     title = xml_escape(element_name)
     self._cw.add_onload("$('.popOverLabel').popover();")
     return (u'<div class="popOverLabel" '


More information about the saem-devel mailing list