Skip to content

Commit

Permalink
fix: minor fixes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Nov 7, 2023
1 parent 3b6f0cd commit 0e89b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions discopop_library/PatchApplicator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ def main() -> int:
"2: Some changes applied successfully
"""
retval = 0
try:
arguments = parse_args()
retval = run(arguments)
except FileNotFoundError:
retval = 1
arguments = parse_args()
retval = run(arguments)
return retval


Expand Down
2 changes: 1 addition & 1 deletion discopop_library/PatchGenerator/diffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_diffs_from_modified_code(
diff_name = original_file_path.parent / (original_file_path.name + ".discopop_patch_generator.diff")
command = [
"diff",
"-Naru",
"-Naru50",
original_file_path.as_posix(),
modified_file_path.as_posix(),
]
Expand Down

0 comments on commit 0e89b90

Please sign in to comment.