Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
email
Commits
7df605f42dbf
Commit
72ee1edf
authored
Sep 21, 2015
by
Rémi Cardona
Browse files
[py3k] replace 'unicode' with 'cubicweb._'
parent
75fdc99cfd4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
schema.py
View file @
7df605f4
...
...
@@ -5,7 +5,11 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__
=
"restructuredtext en"
_
=
unicode
try
:
from
cubicweb
import
_
except
ImportError
:
_
=
unicode
# pylint: disable-msg=E0611,F0401
from
yams.buildobjs
import
(
SubjectRelation
,
RelationType
,
EntityType
,
...
...
views/email.py
View file @
7df605f4
...
...
@@ -5,7 +5,11 @@
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
"""
__docformat__
=
"restructuredtext en"
_
=
unicode
try
:
from
cubicweb
import
_
except
ImportError
:
_
=
unicode
from
logilab.mtconverter
import
xml_escape
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment