git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f469a
)
fix bug in import_person
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 9 Jul 2009 21:08:40 +0000
(21:08 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 9 Jul 2009 21:08:40 +0000
(21:08 +0000)
sfa/plc/sfa-import-plc.py
patch
|
blob
|
history
diff --git
a/sfa/plc/sfa-import-plc.py
b/sfa/plc/sfa-import-plc.py
index
2e0f937
..
d2d80c3
100755
(executable)
--- 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