Exemplo n.º 1
0
 def run(self):
     try:
         utils.putTitle(self.pretty_name + " Configuration")
         self.configure()
     except Exception as e: 
         utils.putError(self.pretty_name + " configuration interrupted!", e)
     else:
         utils.putSuccess(self.pretty_name + " configuration successfull")
Exemplo n.º 2
0
 def run(self):
     try:
         utils.putTitle(self.pretty_name + " Installation")
         self.install()
     except Exception as e: 
         utils.putError(self.pretty_name + " installation interrupted!", e)
     else:
         if self.installp:
             utils.putSuccess(self.pretty_name + " installation successfull")
         else:
             utils.putSuccess(self.pretty_name + " not installed")