def __init__(self, conf):
     """conf is preup.conf.Conf object, contains configuration"""
     self.conf = conf
     if self.conf.debug is None:
         set_level(logging.INFO)
     else:
         set_level(logging.DEBUG)
     self.ui_helper = UIHelper(self.conf.maindir)
Esempio n. 2
0
 def __init__(self, conf):
     """conf is preup.conf.Conf object, contains configuration"""
     self.conf = conf
     if self.conf.debug is None:
         set_level(logging.INFO)
     else:
         set_level(logging.DEBUG)
     self.ui_helper = UIHelper(self.conf.maindir)
Esempio n. 3
0
 def __init__(self, conf):
     """conf is preup.conf.Conf object, contains configuration"""
     self.conf = conf
     self.content = ""
     self.result_file = ""
     self.xml_mgr = None
     self.basename = ""
     self.scanning_progress = None
     self.report_parser = None
     self.third_party = ""
     self.report_data = {}
     self.text_convertor = ""
     self.common = None
     self._devel_mode = 0
     self._dist_mode = None
     if self.conf.debug is None:
         set_level(logging.INFO)
     else:
         set_level(logging.DEBUG)