certmaster/utils.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 certmaster/utils.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c6ee5a51e5bb21e578000855ebecc0620d069c7f
Author: Seth Vidal <skvidal@xxxxxxxxxxxxxxxxx>
Date:   Fri Oct 15 13:54:37 2010 -0400

    catch syntax/logic issue correctly -> thanks to greg

diff --git a/certmaster/utils.py b/certmaster/utils.py
index 968d697..02c28e0 100644
--- a/certmaster/utils.py
+++ b/certmaster/utils.py
@@ -139,7 +139,7 @@ def create_minion_keys(hostname=None):
         raise codes.CMException("Could not determine a hostname other than localhost")
     else:
         # use lowercase letters for hostnames
-        hostname = hostname.lower()
+        hn = hn.lower()
 
     key_file = '%s/%s.pem' % (cert_dir, hn)
     csr_file = '%s/%s.csr' % (cert_dir, hn)


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux