Example #1
0
File: output.py Project: hans/pyggs
 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 []
Example #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 []
Example #3
0
File: output.py Project: hans/pyggs
 def __init__(self, theme):
     BaseConfig.__init__(self, theme)
     self.log = logging.getLogger("Pyggs.Theme")
Example #4
0
 def __init__(self, theme):
     BaseConfig.__init__(self, theme)
     self.log = logging.getLogger("Pyggs.Theme")