summaryrefslogtreecommitdiffstats
path: root/overlord
diff options
context:
space:
mode:
authorSeth Vidal <skvidal@fedoraproject.org>2007-09-27 19:25:06 -0400
committerSeth Vidal <skvidal@fedoraproject.org>2007-09-27 19:25:06 -0400
commitaa71a3021a13c4b9d1a4a5ab4623913237edaa7a (patch)
tree4ff68c76b470053c5daae2d86610dc485c064168 /overlord
parent78fe82ba9b56fac5105827b4b779015a2361116d (diff)
downloadthird_party-func-aa71a3021a13c4b9d1a4a5ab4623913237edaa7a.tar.gz
third_party-func-aa71a3021a13c4b9d1a4a5ab4623913237edaa7a.tar.xz
third_party-func-aa71a3021a13c4b9d1a4a5ab4623913237edaa7a.zip
certs are named .cert not .crt so when we remove the extension it is string[:-5] not string[:-4]
Diffstat (limited to 'overlord')
-rwxr-xr-xoverlord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/overlord/client.py b/overlord/client.py
index 9196ccb..d241373 100755
--- a/overlord/client.py
+++ b/overlord/client.py
@@ -102,7 +102,7 @@ class Client():
certs = glob.glob(actual_gloob)
for cert in certs:
all_certs.append(cert)
- host = cert.replace(self.config.certroot,"")[1:-4]
+ host = cert.replace(self.config.certroot,"")[1:-5]
all_hosts.append(host)
# debug only: