ci.py: changed scp commands

This commit is contained in:
Daniel Marjamäki 2013-12-13 06:57:08 +01:00
parent 08cd0cd0f7
commit 825174d394
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ def upload(file_to_upload, destination):
password = sys.argv[1] password = sys.argv[1]
child = pexpect.spawn( child = pexpect.spawn(
'scp ' + file_to_upload + ' danielmarjamaki,cppcheck@web.sourceforge.net:' + destination) 'scp ' + file_to_upload + ' danielmarjamaki,cppcheck@web.sourceforge.net:' + destination)
child.expect( #child.expect(
'danielmarjamaki,cppcheck@web.sourceforge.net\'s password:') # 'danielmarjamaki,cppcheck@web.sourceforge.net\'s password:')
child.expect('Password:')
child.sendline(password) child.sendline(password)
child.interact() child.interact()
except IOError: except IOError: