mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-04 21:28:12 +02:00
fixed bug in manual selection
This commit is contained in:
@ -171,9 +171,9 @@ def refine_entry(
|
||||
hunks = select_relevant_hunks(diff, entry.comments[0].body)
|
||||
if hunks:
|
||||
accumulated[fname] = "\n".join(hunks)
|
||||
entry.diffs_after = accumulated
|
||||
if len(accumulated):
|
||||
if len(accumulated) == 0:
|
||||
return False
|
||||
entry.diffs_after = accumulated
|
||||
return True
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user