[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:37:28 CDT 2011
branch "review" has been updated
via 7cc430568a19cb01f43311f9b15f1e9e3ee9a9de (commit)
from 137f5a9ea690b39561f967f9dde4cf93db7c17d5 (commit)
Summary of changes:
remote.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 7cc430568a19cb01f43311f9b15f1e9e3ee9a9de
Author: Darren Sessions <dsessions at digium.com>
Date: Tue May 24 19:37:26 2011 -0500
minor tweak . . soooooo close to having it finished!!
diff --git a/remote.py b/remote.py
index 147b91e..b447282 100755
--- a/remote.py
+++ b/remote.py
@@ -206,6 +206,10 @@ class RemoteManagement(object):
def serverSideSendFile(self, remote, fn):
rpc = xmlrpclib.ServerProxy('http://%s:8000/' % remote)
+ try:
+ rpc.reset()
+ except:
+ return {'success':False,'msg':i'Unable to transfer files to %s. Connection refused.' % 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