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