From 7bb2b49138fab96a34e5750afa3e3831349033ff Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 9 Jul 2009 21:08:40 +0000 Subject: [PATCH] fix bug in import_person --- sfa/plc/sfa-import-plc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/sfa-import-plc.py b/sfa/plc/sfa-import-plc.py index 2e0f9378..d2d80c3f 100755 --- a/sfa/plc/sfa-import-plc.py +++ b/sfa/plc/sfa-import-plc.py @@ -140,7 +140,7 @@ def import_person(parent_hrn, person): table = get_auth_table(parent_hrn) key_ids = [] - if 'key_ids' in person: + if 'key_ids' in person and person['key_ids']: key_ids = person["key_ids"] # get the user's private key from the SSH keys they have uploaded -- 2.47.0