git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f5cd72e
)
fix bug in selection of special account ssh keys
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Tue, 21 Jul 2009 18:40:29 +0000
(18:40 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Tue, 21 Jul 2009 18:40:29 +0000
(18:40 +0000)
PLC/Methods/GetSlivers.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetSlivers.py
b/PLC/Methods/GetSlivers.py
index
1806387
..
d4dbba8
100644
(file)
--- a/
PLC/Methods/GetSlivers.py
+++ b/
PLC/Methods/GetSlivers.py
@@
-252,9
+252,8
@@
class v43GetSlivers(Method):
site_keys = {}
for site_person in site_persons:
if site_person['enabled'] is False: continue
site_keys = {}
for site_person in site_persons:
if site_person['enabled'] is False: continue
- more = True
for role in theroles:
for role in theroles:
- if role in site_person['role
_id
s']:
+ if role in site_person['roles']:
keys_filter = site_person['key_ids']
keys_return_filter = ['key_id', 'key', 'key_type']
keys = Keys(self.api, keys_filter, keys_return_filter)
keys_filter = site_person['key_ids']
keys_return_filter = ['key_id', 'key', 'key_type']
keys = Keys(self.api, keys_filter, keys_return_filter)