mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-18 18:51:38 +02:00
Undoing last commit
This commit is contained in:
parent
dee247959a
commit
cc48fcdf0d
1 changed files with 3 additions and 4 deletions
|
@ -429,10 +429,9 @@ class InternalCommands:
|
||||||
if not ftp:
|
if not ftp:
|
||||||
raise Exception('FTP info not defined.')
|
raise Exception('FTP info not defined.')
|
||||||
|
|
||||||
src = self.dist_name(type)
|
name = self.dist_name(type)
|
||||||
dest = self.dist_name_rev(type)
|
print 'Uploading %s to FTP server %s...' % (name, ftp.host)
|
||||||
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
|
ftp.run('bin/' + name, self.dist_name_rev(type))
|
||||||
ftp.run('bin/' + src, dest)
|
|
||||||
print 'Done'
|
print 'Done'
|
||||||
|
|
||||||
def dist_name(self, type):
|
def dist_name(self, type):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue