def __init__(self, fname, spec, encoding):
     CfgGenshiGenerator.__init__(self, fname, spec, encoding)
     if not HAS_CRYPTO:
         msg = "Cfg: M2Crypto is not available"
         LOGGER.error(msg)
         raise PluginExecutionError(msg)
 def __init__(self, fname, spec):
     CfgGenshiGenerator.__init__(self, fname, spec)
     if not HAS_CRYPTO:
         raise PluginExecutionError("M2Crypto is not available")
예제 #3
0
 def __init__(self, fname, spec, encoding):
     CfgGenshiGenerator.__init__(self, fname, spec, encoding)
     if not HAS_CRYPTO:
         msg = "Cfg: M2Crypto is not available"
         LOGGER.error(msg)
         raise PluginExecutionError(msg)
예제 #4
0
 def __init__(self, fname, spec):
     CfgGenshiGenerator.__init__(self, fname, spec)
     if not HAS_CRYPTO:
         raise PluginExecutionError("M2Crypto is not available")