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, ...@@ -3,10 +3,7 @@ from yams.buildobjs import (EntityType, SubjectRelation, String, RichString,
from yams.reader import context from yams.reader import context
from cubicweb.schema import RRQLExpression, RQLConstraint from cubicweb.schema import RRQLExpression, RQLConstraint
try: from cubicweb import _
from cubicweb import _
except ImportError:
_ = unicode
class Person(EntityType): class Person(EntityType):
......
Markdown is supported
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