fix bug in import_person. resolve type should be user, not slice
authorTony Mack <tmack@cs.princeton.edu>
Tue, 16 Dec 2008 02:27:34 +0000 (02:27 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 16 Dec 2008 02:27:34 +0000 (02:27 +0000)
plc/import.py

index 3bfcd55..b2177b8 100644 (file)
@@ -153,7 +153,7 @@ def import_person(parent_hrn, person):
 
     table = get_auth_table(parent_hrn)
 
-    person_record = table.resolve("slice", hrn)
+    person_record = table.resolve("user", hrn)
     if not person_record:
         key_ids = person["key_ids"]