summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Admin/Init.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py
index d49c19fa1..aee91b244 100644
--- a/src/lib/Server/Admin/Init.py
+++ b/src/lib/Server/Admin/Init.py
@@ -276,15 +276,15 @@ class Init(Bcfg2.Server.Admin.Mode):
newcountry = raw_input("Country name (2 letter code) for certificate: ")
if newcountry != '':
if len(newcountry) == 2:
- country = newcountry
+ self.country = newcountry
else:
while len(newcountry) != 2:
newcountry = raw_input("2 letter country code (eg. US): ")
if len(newcountry) == 2:
- country = newcountry
+ self.country = newcountry
break
else:
- country = 'US'
+ self.country = 'US'
newstate = raw_input("State or Province Name (full name) for certificate: ")
if newstate != '':