From c1f689655904f2143885dd2d60003b37b5bb0c90 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 20 Sep 2011 12:36:35 +0200 Subject: [PATCH] bugfix --- system/Substrate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/Substrate.py b/system/Substrate.py index 721fe50..ad50129 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -633,8 +633,10 @@ class Substrate: def fqdn (self, hostname): if hostname.find('.')<0: return "%s.%s"%(hostname,self.domain()) + return hostname def short_hostname (self, hostname): if hostname.find('.')>=0: return hostname.split('.')[0] + return hostname # return True if actual sensing takes place def sense (self,force=False): -- 2.47.0