diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-09-27 21:49:53 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-09-27 21:49:53 +0000 |
commit | 5cb184560231b59906b6fb343b211773b3c7ccfe (patch) | |
tree | 720e7c9756af692eff12f5905380b01c202e147e | |
parent | 4f5559f28607e4edf672786ef24e263722172999 (diff) | |
download | bcfg2-5cb184560231b59906b6fb343b211773b3c7ccfe.tar.gz bcfg2-5cb184560231b59906b6fb343b211773b3c7ccfe.tar.bz2 bcfg2-5cb184560231b59906b6fb343b211773b3c7ccfe.zip |
fix glob
(Logical change 1.324)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1321 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | tools/upgrade.py | 2 |
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: |