Exemple #1
0
 def options(self, section):
     """ Handle missing section error.
     """
     try:
         return BaseConfig.options(self, section)
     except configparser.NoSectionError:
         self.log.warn(_("This theme has no section {0}.").format(section))
         return []
Exemple #2
0
 def options(self, section):
     """ Handle missing section error.
     """
     try:
         return BaseConfig.options(self, section)
     except configparser.NoSectionError:
         self.log.warn(_("This theme has no section {0}.").format(section))
         return []
Exemple #3
0
 def __init__(self, theme):
     BaseConfig.__init__(self, theme)
     self.log = logging.getLogger("Pyggs.Theme")
Exemple #4
0
 def __init__(self, theme):
     BaseConfig.__init__(self, theme)
     self.log = logging.getLogger("Pyggs.Theme")