git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tabs vs. spaces.
[nodemanager.git]
/
plugins
/
sliverauth.py
diff --git
a/plugins/sliverauth.py
b/plugins/sliverauth.py
index
2207dbe
..
1def33a
100644
(file)
--- a/
plugins/sliverauth.py
+++ b/
plugins/sliverauth.py
@@
-37,7
+37,7
@@
def GetSlivers(plc, data, conf):
for sliver in data['slivers']:
found_hmac = False
for attribute in sliver['attributes']:
for sliver in data['slivers']:
found_hmac = False
for attribute in sliver['attributes']:
- name = attribute.get('tagname',attribute.get('name',''))
+
name = attribute.get('tagname',attribute.get('name',''))
if name == 'hmac':
found_hmac = True
hmac = attribute['value']
if name == 'hmac':
found_hmac = True
hmac = attribute['value']