Browse Source

set conn attribute to None at creation

failed_true
Edoardo Putti 8 years ago
parent
commit
6a6a70416f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      ca_manager.py

+ 6
- 0
ca_manager.py View File

@ -175,6 +175,12 @@ class CALookup(object):
Proxy to interact with the database, get CA as element or as list
"""
def __init__(self, ssh_ca_dir, ssl_ca_dir):
"""
The connection attribute is setted by the CAManager instance
when used
"""
self.conn = None
self.ssh_ca_dir = ssh_ca_dir
self.ssl_ca_dir = ssl_ca_dir


Loading…
Cancel
Save