Made upload message more accurate
This commit is contained in:
parent
cc48fcdf0d
commit
1237d7e1d4
|
@ -429,9 +429,10 @@ class InternalCommands:
|
||||||
if not ftp:
|
if not ftp:
|
||||||
raise Exception('FTP info not defined.')
|
raise Exception('FTP info not defined.')
|
||||||
|
|
||||||
name = self.dist_name(type)
|
src = self.dist_name(type)
|
||||||
print 'Uploading %s to FTP server %s...' % (name, ftp.host)
|
dest = self.dist_name_rev(type)
|
||||||
ftp.run('bin/' + name, self.dist_name_rev(type))
|
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
|
||||||
|
ftp.run('bin/' + src, dest)
|
||||||
print 'Done'
|
print 'Done'
|
||||||
|
|
||||||
def dist_name(self, type):
|
def dist_name(self, type):
|
||||||
|
|
Loading…
Reference in New Issue