Commit b28ebaa8 authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Flake8: fix F821 undefined name 'unicode'

parent f2846dd2709b
......@@ -3,10 +3,7 @@ from yams.buildobjs import (EntityType, SubjectRelation, String, RichString,
from yams.reader import context
from cubicweb.schema import RRQLExpression, RQLConstraint
from cubicweb import _
except ImportError:
_ = unicode
from cubicweb import _
class Person(EntityType):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment