Exemplo n.º 1
0
 def update_list(self):
     try:
         self.list.set(Registry.all())
         self.enable()
         self.set_default_button(self.install_button)
     except Registry.ConnectionError:
         self.disable("Couldn't connect to the registry server...")
Exemplo n.º 2
0
 def update_list(self):
     try:
         self.list.set(Registry.all())
         self.enable()
         self.set_default_button(self.install_button)
     except Registry.ConnectionError:
         self.disable("Couldn't connect to the registry server...")