python bindings: core - key import gsoc/jacob-key-import
authorBen McGinnes <ben@adversary.org>
Sun, 17 Jun 2018 04:35:20 +0000 (14:35 +1000)
committerBen McGinnes <ben@adversary.org>
Sun, 17 Jun 2018 04:35:20 +0000 (14:35 +1000)
commit5a80e755008bbb3f4c7f91ffccd38f26cd8b3960
tree072d01e49f2038e064259fe176b5e6abf37f5376
parent0e762608ef5a598030b8d0e56261a830e1b7b724
python bindings: core - key import

* Wrapped the key import function in the try/exception statements
  needed to catch at least the most likely unsuccessful import attempt
  errors.
* Mostly draws on the file error and no data import statuses for
  errors, with a couple of exceptions.

Signed-off-by: Ben McGinnes <ben@adversary.org>
lang/python/src/core.py