Skip to content

Fix bugwarrior issue #393#109

Merged
ralphbean merged 2 commits intoralphbean:developfrom
gdetrez:ralphbean/bugwarrior/issues/393
Oct 28, 2016
Merged

Fix bugwarrior issue #393#109
ralphbean merged 2 commits intoralphbean:developfrom
gdetrez:ralphbean/bugwarrior/issues/393

Conversation

@gdetrez
Copy link
Copy Markdown
Contributor

@gdetrez gdetrez commented Oct 15, 2016

Remove the control characters in the command executed in
TaskWarriorShellout._execute.

Also add some integration test for the task_add method to make sure that
this fixes issue GothenburgBitFactory/bugwarrior#393.

It removes all control characters from a binary string ('bytes' in python
3) except the ones that are printable-ish that we might want to keep
around ("\t\n\v\f\r").

Also adds unit tests for the new function
Remove the control characters in the command executed in
TaskWarriorShellout._execute.

Also add some integration test for the task_add method to make sure that
this fixes issue GothenburgBitFactory/bugwarrior#393.
@ralphbean
Copy link
Copy Markdown
Owner

Sorry for letting this sit for so long. LGTM!

@ralphbean ralphbean merged commit f813ca3 into ralphbean:develop Oct 28, 2016
@gdetrez
Copy link
Copy Markdown
Contributor Author

gdetrez commented Oct 28, 2016

No problem. If you still plan to release bugwarrior soon, maybe do taskw as well to fix the issue with null characters.

@ralphbean
Copy link
Copy Markdown
Owner

Done! https://pypi.python.org/pypi/taskw :)

@gdetrez
Copy link
Copy Markdown
Contributor Author

gdetrez commented Oct 29, 2016

Thanks! I'll close GothenburgBitFactory/bugwarrior#393 then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants