git://git.onelab.eu
/
infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn off f24 build
[infrastructure.git]
/
scripts
/
check_sfa_peer.py
diff --git
a/scripts/check_sfa_peer.py
b/scripts/check_sfa_peer.py
index
568b57a
..
e9244c0
100755
(executable)
--- a/
scripts/check_sfa_peer.py
+++ b/
scripts/check_sfa_peer.py
@@
-15,6
+15,7
@@
ALL = {
import signal,sys
from sfa.client.sfaserverproxy import SfaServerProxy
import signal,sys
from sfa.client.sfaserverproxy import SfaServerProxy
+from sfa.client.return_value import ReturnValue
class TimeOutException(Exception):
pass
class TimeOutException(Exception):
pass
@@
-46,7
+47,7
@@
def try_peer(url):
error += 1
return
try:
error += 1
return
try:
- iface =
version
['interface']
+ iface =
ReturnValue.get_value(version)
['interface']
except:
iface = '(unknown)'
print "\t[ OK ] %s (%s)" % (url,iface),
except:
iface = '(unknown)'
print "\t[ OK ] %s (%s)" % (url,iface),