From cc48fcdf0da0ce8c9e15d775d9f6856bec73afa5 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Fri, 10 Sep 2010 14:36:57 +0000 Subject: [PATCH] Undoing last commit --- build/commands.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/commands.py b/build/commands.py index da3e660e..e6327e32 100644 --- a/build/commands.py +++ b/build/commands.py @@ -429,10 +429,9 @@ class InternalCommands: if not ftp: raise Exception('FTP info not defined.') - 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) + name = self.dist_name(type) + print 'Uploading %s to FTP server %s...' % (name, ftp.host) + ftp.run('bin/' + name, self.dist_name_rev(type)) print 'Done' def dist_name(self, type):