Commit cd8d5525 authored by Jérome Perrin's avatar Jérome Perrin

fixup! fixup! fix SyntaxWarning

parent 4f157d0f
......@@ -138,7 +138,7 @@ class PropertyTranslationDomainGetter(BaseGetter):
ptype_domain = ''
else:
ptype_domain = domain.getDomainName()
if ptype_domain is '' and default is not None:
if ptype_domain == '' and default is not None:
# then get the default property defined on property sheet
value = default
else:
......
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