Checkpointing: Fix directory regex

--HG--
extra : convert_revision : 4d3958eda66209373249e54e7deadd1a7442e828
This commit is contained in:
Ali Saidi 2007-09-12 15:27:15 -04:00
parent 6f9ad931cc
commit 136cb057d4

View file

@ -130,7 +130,7 @@ def run(options, root, testsys, cpu_class):
m5.panic("checkpoint dir %s does not exist!" % cptdir) m5.panic("checkpoint dir %s does not exist!" % cptdir)
dirs = listdir(cptdir) dirs = listdir(cptdir)
expr = re.compile('cpt.([0-9]*)') expr = re.compile('cpt\.([0-9]*)')
cpts = [] cpts = []
for dir in dirs: for dir in dirs:
match = expr.match(dir) match = expr.match(dir)