[constraints] don't redefine _

We already add it to builtins in yams/__init__.py anyway.

authorJulien Cristau <julien.cristau@logilab.fr>
changesetfa58e0a0101d
branchdefault
phasedraft
hiddenyes
parent revision#c5d912ca54aa [debian] addition of computed attributes/relations breaks older cubicweb
child revision#ce5778c0bb73 [schema] don't redefine _
files modified by this revision
constraints.py
# HG changeset patch
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1413451753 -7200
# Thu Oct 16 11:29:13 2014 +0200
# Node ID fa58e0a0101d4129c1c1120a936ca5e81ff27ebb
# Parent c5d912ca54aa337af35989fe7a55333b5a1df52e
[constraints] don't redefine _

We already add it to builtins in yams/__init__.py anyway.

diff --git a/constraints.py b/constraints.py
@@ -16,11 +16,10 @@
1  # You should have received a copy of the GNU Lesser General Public License along
2  # with yams. If not, see <http://www.gnu.org/licenses/>.
3  """Some common constraint classes."""
4 
5  __docformat__ = "restructuredtext en"
6 -_ = unicode
7 
8  import re
9  import decimal
10  import operator
11  from StringIO import StringIO