mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +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)
|
hunks = select_relevant_hunks(diff, entry.comments[0].body)
|
||||||
if hunks:
|
if hunks:
|
||||||
accumulated[fname] = "\n".join(hunks)
|
accumulated[fname] = "\n".join(hunks)
|
||||||
entry.diffs_after = accumulated
|
if len(accumulated) == 0:
|
||||||
if len(accumulated):
|
|
||||||
return False
|
return False
|
||||||
|
entry.diffs_after = accumulated
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user