[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
Wed Jun 1 09:46:12 CDT 2011


branch "review" has been updated
       via  41deebe580463f79a67e6f0d666a94ec60ba3b58 (commit)
      from  e862c4a5ee80e4ad474bfd4222e19bd49263d2f2 (commit)

Summary of changes:
 lib/python/TestSuite.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 41deebe580463f79a67e6f0d666a94ec60ba3b58
Author: Darren Sessions <dsessions at digium.com>
Date:   Wed Jun 1 09:46:10 2011 -0500

    fixed the xmlrpc binary data file transfer write

diff --git a/lib/python/TestSuite.py b/lib/python/TestSuite.py
index dd970cd..c40cd02 100644
--- a/lib/python/TestSuite.py
+++ b/lib/python/TestSuite.py
@@ -33,7 +33,7 @@ class utils():
 
     def installFromRemote(self, cwd, fn, fd, installPath):
         w = open('%s/tmp/%s' % (cwd, fn), "wb")
-        w.write(fd)
+        w.write(fd.data)
         w.close()
         installPath = installPath.replace('!!TMP!!', '%s/tmp' % cwd)
         results = self.execute(['tar', '-xvf', '%s/tmp/%s' % (cwd, fn), '-C', '%s' % installPath], cwd, True)

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/testsuite.git



More information about the asterisk-scf-commits mailing list