Skip to content

Commit

Permalink
Limit cde.log entries to one line
Browse files Browse the repository at this point in the history
  • Loading branch information
sranasir authored Feb 1, 2024
1 parent d1c57d7 commit 8e5dd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sciunit2/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def repeat(pkgdir, orig, newargs):
"interactive sciunit doesn't react to arguments")
with Chdir(pkgdir):
with open('cde.log') as f:
cd, ls = f
cd, ls, *extra = f
os.rename('cde.log', 'cde.log.1')
with open('cde.log', 'w') as f:
# adds the command in a comment
Expand Down

0 comments on commit 8e5dd71

Please sign in to comment.