|
|
@ -136,6 +136,7 @@ class Update(object):
|
|
|
|
map(emerge_parser.GitCheckvalue,
|
|
|
|
map(emerge_parser.GitCheckvalue,
|
|
|
|
self.clVars.Get('update.cl_update_rep_path')))
|
|
|
|
self.clVars.Get('update.cl_update_rep_path')))
|
|
|
|
self.update_map = {}
|
|
|
|
self.update_map = {}
|
|
|
|
|
|
|
|
self.refresh_binhost = False
|
|
|
|
|
|
|
|
|
|
|
|
def get_prog_path(self, progname):
|
|
|
|
def get_prog_path(self, progname):
|
|
|
|
return getProgPath(progname)
|
|
|
|
return getProgPath(progname)
|
|
|
@ -1127,9 +1128,17 @@ class Update(object):
|
|
|
|
self.clVars.Delete('cl_update_binhost', location="system")
|
|
|
|
self.clVars.Delete('cl_update_binhost', location="system")
|
|
|
|
raise UpdateError("Binhost is unavailable")
|
|
|
|
raise UpdateError("Binhost is unavailable")
|
|
|
|
if write_binhost:
|
|
|
|
if write_binhost:
|
|
|
|
|
|
|
|
if hosts[0] != self.clVars.Get('cl_update_binhost'):
|
|
|
|
|
|
|
|
self.refresh_binhost = True
|
|
|
|
self.clVars.Write('cl_update_binhost', hosts[0], location="system")
|
|
|
|
self.clVars.Write('cl_update_binhost', hosts[0], location="system")
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def message_binhost_changed(self):
|
|
|
|
|
|
|
|
if self.refresh_binhost:
|
|
|
|
|
|
|
|
self.printWARNING(_("Binhost was changed to %s") %
|
|
|
|
|
|
|
|
self.clVars.Get('cl_update_binhost'))
|
|
|
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|
def update_binhost_list(self):
|
|
|
|
def update_binhost_list(self):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Обновить список binhost'ов после обновления до master веток
|
|
|
|
Обновить список binhost'ов после обновления до master веток
|
|
|
|