[asterisk-scf-commits] asterisk-scf/integration/testsuite.git branch "review" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue May 24 19:57:22 CDT 2011
branch "review" has been updated
via 39a4816547bd1515f78d23efab0fc324c0824700 (commit)
from 7dcd4faf8802de6857671205cecfd3a3ffead32e (commit)
Summary of changes:
plugins/build.py | 2 +-
remote.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 39a4816547bd1515f78d23efab0fc324c0824700
Author: Darren Sessions <dsessions at digium.com>
Date: Tue May 24 19:57:19 2011 -0500
tweaks
diff --git a/plugins/build.py b/plugins/build.py
index 0b219b2..0859103 100644
--- a/plugins/build.py
+++ b/plugins/build.py
@@ -69,7 +69,7 @@ class testsuite(util.TestSuiteRemoteBaseClass):
return results
for remote in testData['cmd']['redistribute']['remotes']:
- results = rpc.serverSideSendFile(remote, 'tmp.tar.gz')
+ results = rpc.serverSideSendFile(testData['testsuite_remote'], remote, 'tmp.tar.gz')
if results['success'] == False:
return results
diff --git a/remote.py b/remote.py
index 50ae2ad..b57d4fa 100755
--- a/remote.py
+++ b/remote.py
@@ -204,12 +204,12 @@ class RemoteManagement(object):
w.close
return {'success':'True'}
- def serverSideSendFile(self, remote, fn):
+ def serverSideSendFile(self, server, remote, fn):
rpc = xmlrpclib.ServerProxy('http://%s:8000/' % remote)
try:
rpc.reset()
except:
- return {'success':False,'msg':'Unable to transfer files to %s. Connection refused.' % remote}
+ return {'success':False,'msg':'%s is unable to transfer files to %s. Connection refused.' % (server, remote)}
r = open('%s/tmp/%s' % (cwd, fn), "rb")
return rpc.remoteSideRecvFile(fn, xmlrpclib.Binary(r.read()))
-----------------------------------------------------------------------
--
asterisk-scf/integration/testsuite.git
More information about the asterisk-scf-commits
mailing list