Skip to content

Commit

Permalink
Domain.py: fix qualified_name() (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacky309 authored and jryannel committed Mar 16, 2018
1 parent 1461a0c commit 0a3ae76
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qface/idl/domain.py
Expand Up @@ -106,7 +106,11 @@ def qualified_name(self):
if self.module == self:
return self.module.name
else:
return '{0}.{1}'.format(self.module.name, self.name)
if "." not in self.name:
return '{0}.{1}'.format(self.module.name, self.name)
else:
# We have a fully qualified reference, just return it
return self.name

def toJson(self):
o = OrderedDict()
Expand Down

0 comments on commit 0a3ae76

Please sign in to comment.