diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-03-04 15:23:25 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-03-04 15:23:25 -0500 |
commit | 2fed8279f7a1de1b8f54466e4fde5937ba265ebc (patch) | |
tree | ab9cda5bf88789c9e9fbe5a63909cb3e96302333 /cloudinit | |
parent | 6931fb8469aac8190fcecdebe8164cf940d23dd4 (diff) | |
download | vyos-cloud-init-2fed8279f7a1de1b8f54466e4fde5937ba265ebc.tar.gz vyos-cloud-init-2fed8279f7a1de1b8f54466e4fde5937ba265ebc.zip |
cloudinit/CloudConfig.py whitespace changes (remove tabs)
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/CloudConfig.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cloudinit/CloudConfig.py b/cloudinit/CloudConfig.py index 6fc9090a..35e96229 100644 --- a/cloudinit/CloudConfig.py +++ b/cloudinit/CloudConfig.py @@ -79,18 +79,18 @@ class CloudConfig(): def get_handler_info(self, name): return(self.handlers[name]['handler'], self.handlers[name]['freq']) - def parse_ssh_keys(self): - disableRoot = self.cfg['disable_root'] - if disableRoot == 'true': - value = 'disabled_root' - return value - else: - ec2Key = self.cfg['ec2_fetch_key'] - if ec2Key != 'none': - value = 'default_key' - return value - else: - return ec2Key + def parse_ssh_keys(self): + disableRoot = self.cfg['disable_root'] + if disableRoot == 'true': + value = 'disabled_root' + return value + else: + ec2Key = self.cfg['ec2_fetch_key'] + if ec2Key != 'none': + value = 'default_key' + return value + else: + return ec2Key def handle(self, name, args): handler = None @@ -128,7 +128,7 @@ class CloudConfig(): if update or upgrade or pkglist: #retcode = subprocess.call(list) - subprocess.Popen(['apt-get', 'update']).communicate() + subprocess.Popen(['apt-get', 'update']).communicate() e=os.environ.copy() e['DEBIAN_FRONTEND']='noninteractive' |