summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Metadata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Metadata.py b/src/lib/Server/Metadata.py
index 51b143233..272be74b9 100644
--- a/src/lib/Server/Metadata.py
+++ b/src/lib/Server/Metadata.py
@@ -27,7 +27,8 @@ class Metadata(object):
(other.classes and (other.classes in self.classes)) or
(other.attributes and (other.attributes in self.attributes)) or
(other.bundles and (other.bundles in self.bundles)) or
- (other.hostname and (self.hostname == other.hostname))):
+ (other.hostname and (self.hostname == other.hostname)) or
+ (other.hostname and (self.hostname.split('.')[0] == other.hostname))):
return True
else:
return False