From e7ca2cf5c38e8d94dd154b3b65b575c63a488ce2 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 3 Aug 2011 13:40:07 -0400 Subject: cloudinit/util.py: fix syntax error --- cloudinit/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/util.py') diff --git a/cloudinit/util.py b/cloudinit/util.py index 64eafa29..5058e1d4 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -436,7 +436,7 @@ def get_hostname_fqdn(cfg, cloud): # be nice to them. set fqdn and hostname from that fqdn = cfg['hostname'] hostname = cfg['hostname'][:fqdn.find('.')] - else + else: # no fqdn set, get fqdn from cloud. # get hostname from cfg if available otherwise cloud fqdn = cloud.get_hostname(fqdn=True) -- cgit v1.2.3