upgrade to CAM v2.0
[stack/cam.git] / lib / files.py
diff --git a/lib/files.py b/lib/files.py
deleted file mode 100644 (file)
index 5f16887..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-
-import os
-from cfg import *
-from paths import *
-
-fields = [
-    ('conf', 'OpenSSL configuration file'),
-    ('rsa_key', 'RSA private key'),
-    ('rsa_crt', 'RSA certificate'),
-    ('dsa_key', 'DSA private key'),
-    ('dsa_crt', 'DSA certificate'),
-    ('dsa_parms', 'DSA parameters'),
-    ('public_crt', 'public certificates bundle'),
-    ('singlefile', 'single cert. file (with keys)')
-    ]
-
-def files(tag):
-    print '''
-
-Files related to the '%s' certificates:
-
-''' % tag
-    for k, desc in fields:
-       p = getpath(k, tag)
-       star = ' '
-       if not os.path.exists(p):
-           star = '*'
-       print '%-30s %s%s' % (desc, star, p)
-
-    print '(* = not found)'
-    print
-