-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,6 +169,9 @@ def find_local_uuid(tw, keys, issue, legacy_matching=True): | |
|
||
if legacy_matching: | ||
legacy_description = issue.get_default_description().rsplit('..', 1)[0] | ||
# Furthermore, we have to kill off any single quotes which break in | ||
# task-2.4.x, as much as it saddens me. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ralphbean
Author
Collaborator
|
||
legacy_description = legacy_description.split("'")[0] | ||
results = tw.filter_tasks({ | ||
'description.startswith': legacy_description, | ||
'or': [ | ||
|
😢 we really can't just escape them? If it's possible we could perhaps just use differing encoding functions given the version of Taskwarrior in use.