summaryrefslogtreecommitdiff
path: root/qface/idl/domain.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/idl/domain.py')
-rw-r--r--qface/idl/domain.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qface/idl/domain.py b/qface/idl/domain.py
index 4c52b1a..ae2359b 100644
--- a/qface/idl/domain.py
+++ b/qface/idl/domain.py
@@ -106,7 +106,11 @@ class NamedElement(object):
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()