summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_ssh_import_id.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-08-31 15:36:05 -0400
committerScott Moser <smoser@ubuntu.com>2012-08-31 15:36:05 -0400
commit27f0355a39e7b546b97e1ff725a9230bd57e3e35 (patch)
tree7dbd6888f1206a232a0b1603a4aaaee0dac0f00c /cloudinit/config/cc_ssh_import_id.py
parentb696c2a57821e0e1fe18400016c906b92f8c271e (diff)
downloadvyos-cloud-init-27f0355a39e7b546b97e1ff725a9230bd57e3e35.tar.gz
vyos-cloud-init-27f0355a39e7b546b97e1ff725a9230bd57e3e35.zip
fix pylint warning
Diffstat (limited to 'cloudinit/config/cc_ssh_import_id.py')
-rw-r--r--cloudinit/config/cc_ssh_import_id.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ssh_import_id.py b/cloudinit/config/cc_ssh_import_id.py
index b3bb9bef..08fb63c6 100644
--- a/cloudinit/config/cc_ssh_import_id.py
+++ b/cloudinit/config/cc_ssh_import_id.py
@@ -60,7 +60,7 @@ def handle(_name, cfg, cloud, log, args):
import_ids = user_cfg['ssh_import_id']
if import_ids and isinstance(import_ids, str):
- import_ids = import_ids.split(',')
+ import_ids = str(import_ids).split(',')
except:
log.debug("user %s is not configured for ssh_import" % user)