From dee247959a39fbe786902ac6e08714880fe6dfcc Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 10 Sep 2010 14:32:16 +0000 Subject: [PATCH] Merge trunk r745:746 into 1.3 and 1.4 --- build/commands.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/commands.py b/build/commands.py index e6327e32..da3e660e 100644 --- a/build/commands.py +++ b/build/commands.py @@ -429,9 +429,10 @@ class InternalCommands: if not ftp: raise Exception('FTP info not defined.') - name = self.dist_name(type) - print 'Uploading %s to FTP server %s...' % (name, ftp.host) - ftp.run('bin/' + name, self.dist_name_rev(type)) + src = self.dist_name(type) + dest = self.dist_name_rev(type) + print 'Uploading %s to FTP server %s...' % (dest, ftp.host) + ftp.run('bin/' + src, dest) print 'Done' def dist_name(self, type):