fix crippled_uri in FileTransceiver
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1597 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -10842,10 +10842,7 @@ class ServerInterface(TextInterface):
|
||||
self.dumpTools = self.ClientService.dumpTools
|
||||
self.backup_entropy_settings()
|
||||
self.SpmService = self.ClientService.Spm()
|
||||
|
||||
self.MirrorsService = ServerMirrorsInterface(self)
|
||||
self.MirrorsService.FtpInterface = self.FtpInterface
|
||||
self.MirrorsService.rssFeed = self.rssFeed
|
||||
|
||||
def setup_entropy_settings(self):
|
||||
self.settings_to_backup.extend([
|
||||
@@ -12085,6 +12082,8 @@ class ServerMirrorsInterface:
|
||||
self.Entropy = ServerInstance
|
||||
self.Mirrors = mirrors[:]
|
||||
self.repository_directory = etpConst['etpdatabasedir']
|
||||
self.FtpInterface = self.Entropy.FtpInterface
|
||||
self.rssFeed = self.Entropy.rssFeed
|
||||
|
||||
self.Entropy.updateProgress(
|
||||
blue("Entropy Server Mirrors Interface loaded:"),
|
||||
@@ -12663,6 +12662,8 @@ class ServerMirrorsInterface:
|
||||
|
||||
def handler_verify_upload(self, local_filepath, uri, ftp_connection, counter, maxcount):
|
||||
|
||||
crippled_uri = self.entropyTools.extractFTPHostFromUri(uri)
|
||||
|
||||
self.Entropy.updateProgress(
|
||||
red("[repo:%s|mirror:%s|%s|#%s|(%s/%s)] verifyng upload (if supported): %s" % (
|
||||
etpConst['officialrepositoryid'],
|
||||
|
||||
Reference in New Issue
Block a user