[FIX] maintenance: avoid a crash when the creditential to access the migration server aren't correct
bzr revid: christophe@tinyerp.com-20090505083651-xmzmyhho68q5me2t
This commit is contained in:
parent
4896fa8f18
commit
983c03b423
|
@ -37,6 +37,9 @@ class remote_contract(object):
|
|||
except:
|
||||
raise RemoteContractException("Unable to contact the migration server")
|
||||
|
||||
if not self.__userid:
|
||||
raise RemoteContractException("Unable to contact the migration server")
|
||||
|
||||
self.__rpc = xmlrpclib.ServerProxy(self.__server + 'object')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue