mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 12:55:00 +00:00
tweaks
This commit is contained in:
parent
2c7960ae26
commit
651b1293c3
1 changed files with 6 additions and 1 deletions
7
scripts/benchmark.py
Normal file → Executable file
7
scripts/benchmark.py
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import datetime
|
||||
import json
|
||||
|
@ -107,7 +109,10 @@ def main():
|
|||
print("ERROR: will not delete dir that does not look like original tests", dirname)
|
||||
return
|
||||
|
||||
dest = dirname.parent / "OLD" / (now + dirname.name)
|
||||
dest = dirname.parent / "OLD" / dirname.name
|
||||
if dest.exists():
|
||||
dest = dirname.parent / "OLD" / (now + dirname.name)
|
||||
|
||||
dirname.rename(dest)
|
||||
|
||||
if not dirname.exists():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue