Merge pull request #16 from ryan-kraay/traverse-non-secure-notes
Allow traversal of non-secure notes
This commit is contained in:
commit
af2be0a99a
|
@ -137,6 +137,9 @@ def add_ssh_keys(session, items, keyname):
|
||||||
except IndexError:
|
except IndexError:
|
||||||
logging.warning('No "%s" field found for item %s', keyname, item['name'])
|
logging.warning('No "%s" field found for item %s', keyname, item['name'])
|
||||||
continue
|
continue
|
||||||
|
except KeyError as e:
|
||||||
|
logging.debug('No key "%s" found in item %s - skipping', e.args[0], item['name'])
|
||||||
|
continue
|
||||||
logging.debug('Private key file declared')
|
logging.debug('Private key file declared')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue