Oops, 'redo t/c.c' didn't work, because find_do_file() was slightly wrong.
We weren't searching for default.*.do in the subdir when needed.
This commit is contained in:
parent
94b0e7166e
commit
d9fe4806ac
2 changed files with 3 additions and 2 deletions
3
redo.py
3
redo.py
|
|
@ -62,7 +62,8 @@ def _possible_do_files(t):
|
|||
basename = '.'.join(l[:i])
|
||||
ext = '.'.join(l[i:])
|
||||
if ext: ext = '.' + ext
|
||||
yield "default%s.do" % ext, basename, ext
|
||||
yield (os.path.join(dirname, "default%s.do" % ext),
|
||||
os.path.join(dirname, basename), ext)
|
||||
|
||||
|
||||
def find_do_file(t):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue