git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7094e56
)
fix: hide management section
author
Yasin
<mohammed-yasin.rahman@lip6.fr>
Thu, 3 Jul 2014 17:11:22 +0000
(19:11 +0200)
committer
Yasin
<mohammed-yasin.rahman@lip6.fr>
Thu, 3 Jul 2014 17:11:22 +0000
(19:11 +0200)
portal/sliceview.py
patch
|
blob
|
history
diff --git
a/portal/sliceview.py
b/portal/sliceview.py
index
89261c2
..
309347c
100644
(file)
--- a/
portal/sliceview.py
+++ b/
portal/sliceview.py
@@
-33,7
+33,7
@@
class SliceView (LoginRequiredView, ThemeView):
if 'myslice' in platform_detail['platform']:
acc_auth_cred = account_config.get('delegated_authority_credentials','N/A')
# assigning values
- if acc_auth_cred == {}:
+ if acc_auth_cred == {}
or acc_auth_cred == 'N/A'
:
pi = "is_not_pi"
else:
pi = "is_pi"