Beispiel #1
0
 def __init__(self):
     """
     Read from file-system on construction.
     """
     cfg = Config(CONFIG_PATH)
     files = cfg['filesystem']
     path = os.path.join(files['id_cert_dir'], files['id_cert_filename'])
     Bundle.__init__(self, path)
Beispiel #2
0
 def __init__(self):
     """
     Read from file-system on construction.
     """
     cfg = Config(CONFIG_PATH)
     files = cfg['filesystem']
     path = os.path.join(files['id_cert_dir'], files['id_cert_filename'])
     Bundle.__init__(self, path)
Beispiel #3
0
 def __init__(self):
     path = os.path.join(cfg.filesystem.id_cert_dir,
                         cfg.filesystem.id_cert_filename)
     Bundle.__init__(self, path)
Beispiel #4
0
 def __init__(self):
     Bundle.__init__(self, cfg.rest.clientcert)
Beispiel #5
0
 def __init__(self):
     path = os.path.join(cfg.filesystem.id_cert_dir, cfg.filesystem.id_cert_filename)
     Bundle.__init__(self, path)
 def __init__(self):
     path = os.path.join(
         cfg['filesystem']['id_cert_dir'],
         cfg['filesystem']['id_cert_filename'])
     BundleImpl.__init__(self, path)
Beispiel #7
0
 def __init__(self):
     path = os.path.join(
         cfg['filesystem']['id_cert_dir'],
         cfg['filesystem']['id_cert_filename'])
     BundleImpl.__init__(self, path)
Beispiel #8
0
 def __init__(self, user):
     path = str(os.path.join(getattr(settings,
                                     'PULP_CERTIFICATE_PATH',
                                     'certs'),
                             "%s.crt" % user))
     Bundle.__init__(self, path)