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:
0f02ff3
)
typo
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Wed, 15 Jan 2014 14:14:49 +0000
(15:14 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Wed, 15 Jan 2014 14:14:49 +0000
(15:14 +0100)
sfa/client/sfi.py
patch
|
blob
|
history
diff --git
a/sfa/client/sfi.py
b/sfa/client/sfi.py
index
a52e2bd
..
94cac68
100644
(file)
--- a/
sfa/client/sfi.py
+++ b/
sfa/client/sfi.py
@@
-384,8
+384,8
@@
class Sfi:
help="display version of the local client")
if command in ("version", "trusted"):
help="display version of the local client")
if command in ("version", "trusted"):
- parser.add_option("-R","--registry
-
interface",
- action="store_true", dest="registry
-
interface", default=False,
+ parser.add_option("-R","--registry
_
interface",
+ action="store_true", dest="registry
_
interface", default=False,
help="target the registry interface instead of slice interface")
if command in ("add", "update"):
help="target the registry interface instead of slice interface")
if command in ("add", "update"):
@@
-836,7
+836,7
@@
use this if you mean an authority instead""")
if options.version_local:
version=version_core()
else:
if options.version_local:
version=version_core()
else:
- if options.registry
-
interface:
+ if options.registry
_
interface:
server=self.registry()
else:
server = self.sliceapi()
server=self.registry()
else:
server = self.sliceapi()
@@
-1626,13
+1626,13
@@
$ sfi m -b http://mymanifold.foo.com:7080/
"""
return the trusted certs at this interface (get_trusted_certs)
"""
"""
return the trusted certs at this interface (get_trusted_certs)
"""
- if options.registry
-
interface:
+ if options.registry
_
interface:
server=self.registry()
else:
server = self.sliceapi()
cred = self.my_authority_credential_string()
trusted_certs = server.get_trusted_certs(cred)
server=self.registry()
else:
server = self.sliceapi()
cred = self.my_authority_credential_string()
trusted_certs = server.get_trusted_certs(cred)
- if not options.registry
-
interface:
+ if not options.registry
_
interface:
trusted_certs = ReturnValue.get_value(trusted_certs)
for trusted_cert in trusted_certs:
trusted_certs = ReturnValue.get_value(trusted_certs)
for trusted_cert in trusted_certs: