git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
go for a unique config URL for the federica xmlrpc service
[sfa.git]
/
sfa
/
federica
/
fdshell.py
diff --git
a/sfa/federica/fdshell.py
b/sfa/federica/fdshell.py
index
7195b56
..
1b290b0
100644
(file)
--- a/
sfa/federica/fdshell.py
+++ b/
sfa/federica/fdshell.py
@@
-18,11
+18,7
@@
class FdShell:
]
def __init__ ( self, config ) :
]
def __init__ ( self, config ) :
- # xxx to be configurable
- SFA_FEDERICA_URL = "http://%s:%s@%s:%s/"%\
- (config.SFA_FEDERICA_USER,config.SFA_FEDERICA_PASSWORD,
- config.SFA_FEDERICA_HOSTNAME,config.SFA_FEDERICA_PORT)
- url=SFA_FEDERICA_URL
+ url=config.SFA_FEDERICA_URL
# xxx not sure if java xmlrpc has support for None
# self.proxy = xmlrpclib.Server(url, verbose = False, allow_none = True)
# xxx turn on verbosity
# xxx not sure if java xmlrpc has support for None
# self.proxy = xmlrpclib.Server(url, verbose = False, allow_none = True)
# xxx turn on verbosity