Print this page
*** NO COMMENTS ***

Split Close
Expand all
Collapse all
          --- old/src/gui/modules/installupdate.py
          +++ new/src/gui/modules/installupdate.py
↓ open down ↓ 396 lines elided ↑ open up ↑
 397  397                                          ips_uptodate = self.__ipkg_ipkgui_uptodate()
 398  398                                  if not ips_uptodate:
 399  399                                          #Do the stuff with installing ipkg ipkggui and
 400  400                                          #restart in the special mode
 401  401                                          self.ips_update = True
 402  402                                          self.__proceed_with_ipkg_thread()
 403  403                                          return
 404  404                                  else:
 405  405                                          self.api_o.reset()
 406  406                          self.__proceed_with_stages_thread()
 407      -                except api_errors.CertificateError:
 408      -                        self.stop_bouncing_progress = True
 409      -                        msg = _("Accessing this restricted repository failed."
 410      -                            "\nYou either need to register to access this repository,"
 411      -                            "\nthe certificate expired, or you need to accept the"
 412      -                            " repository\ncertificate.")
 413      -                        self.__g_error_stage(msg)
      407 +                except api_errors.CertificateError, e:
      408 +                        self.__g_error_stage(str(e))
 414  409                          return
 415  410                  except api_errors.PlanCreationException, e:
 416  411                          self.__g_error_stage(str(e))
 417  412                          return
 418  413                  except api_errors.InventoryException, e:
 419  414                          msg = _("Inventory exception:\n")
 420  415                          if e.illegal:
 421  416                                  for i in e.illegal:
 422  417                                          msg += "\tpkg:\t" + i +"\n"
 423  418                          self.__g_error_stage(msg)
↓ open down ↓ 540 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX