summaryrefslogtreecommitdiffstats
path: root/tools/upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/upgrade.py')
-rw-r--r--tools/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade.py b/tools/upgrade.py
index 7c705fbe0..ece0cb4dd 100644
--- a/tools/upgrade.py
+++ b/tools/upgrade.py
@@ -37,7 +37,7 @@ if __name__ == '__main__':
open(cf.get('server', 'metadata') + '/metadata.xml.new'), 'w').write(tostring(metadata))
sshdir = cf.get('server', 'repository') + '/SSHbase/'
- for key in glob(sshdir + "*key.H_*"):
+ for key in glob(sshdir + "*key*.H_*"):
hostname = key.split('.H_')[1]
if not hostcache.has_key(hostname):
for dom in domainlist: