no longer support type 'person'
authorTony Mack <tmack@cs.princeton.edu>
Mon, 17 Aug 2009 22:11:23 +0000 (22:11 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 17 Aug 2009 22:11:23 +0000 (22:11 +0000)
sfa/plc/sfaImport.py

index 7529232..fa33a04 100644 (file)
@@ -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']: