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:
17950ff
)
fixed 'keys' is now 'key'
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 3 Aug 2009 20:23:59 +0000
(20:23 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 3 Aug 2009 20:23:59 +0000
(20:23 +0000)
sfa/methods/register.py
patch
|
blob
|
history
diff --git
a/sfa/methods/register.py
b/sfa/methods/register.py
index
d92437b
..
ea86051
100644
(file)
--- a/
sfa/methods/register.py
+++ b/
sfa/methods/register.py
@@
-49,7
+49,7
@@
class register(Method):
if 'gid' not in record:
uuid = create_uuid()
pkey = Keypair(create=True)
- if 'key
s
' in record and record['key']:
+ if 'key' in record and record['key']:
pkey = convert_public_key(record['key'])
gid_object = self.api.auth.hierarchy.create_gid(name, uuid, pkey)