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
person
Commits
c86edc7c2a76
Commit
b28ebaa8
authored
Feb 28, 2019
by
Nsukami Patrick
Browse files
Flake8: fix F821 undefined name 'unicode'
parent
f2846dd2709b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_person/schema.py
View file @
c86edc7c
...
...
@@ -3,10 +3,7 @@ from yams.buildobjs import (EntityType, SubjectRelation, String, RichString,
from
yams.reader
import
context
from
cubicweb.schema
import
RRQLExpression
,
RQLConstraint
try
:
from
cubicweb
import
_
except
ImportError
:
_
=
unicode
from
cubicweb
import
_
class
Person
(
EntityType
):
...
...
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