From 14b4552d8274be19ddeb316e591caf7e610d660b Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 17 Aug 2009 22:11:23 +0000 Subject: [PATCH] no longer support type 'person' --- sfa/plc/sfaImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/plc/sfaImport.py b/sfa/plc/sfaImport.py index 75292323..fa33a04a 100644 --- a/sfa/plc/sfaImport.py +++ b/sfa/plc/sfaImport.py @@ -284,7 +284,7 @@ class sfaImport: if type in ['slice'] and 'name' in object and object['name']: slice_name = object['name'].split("_")[0] hrn = parent_hrn + "." + slice_name - elif type in ['user', 'person'] and 'email' in object and object['email']: + elif type in ['user'] and 'email' in object and object['email']: person_name = object['email'].split('@')[0] hrn = parent_hrn + "." + person_name elif type in ['node'] and 'hostname' in object and object['hostname']: -- 2.47.0