From: Thierry Parmentelat Date: Tue, 20 Sep 2011 10:36:35 +0000 (+0200) Subject: bugfix X-Git-Tag: tests-5.0-29~27 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c1f689655904f2143885dd2d60003b37b5bb0c90;p=tests.git bugfix --- 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):