summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Hostbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Hostbase.py b/src/lib/Server/Plugins/Hostbase.py
index c61fdace3..0ad34208d 100644
--- a/src/lib/Server/Plugins/Hostbase.py
+++ b/src/lib/Server/Plugins/Hostbase.py
@@ -281,7 +281,7 @@ class Hostbase(Bcfg2.Server.Plugin.Plugin,
if (host[1].split("."), host[0]) not in hosts]
hosts_external = [(host[1].split("."), host[0])
for host in reversehosts
- if ((host[1].split("."), host[0]) not in hosts
+ if ((host[1].split("."), host[0]) not in hosts_external
and host[2] == 'global')]
context = Context({
'hosts': hosts,