-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing config with url containg '%' has interpolation issue from ConfigParser #1018
Comments
Had to include interpolation=None argument there to fix this. Can we make it permanent? |
Note that one option is to work around this by escaping each instance of the percent sign with a double-percent sign. That said, I'd be inclined to agree that your proposal is a good idea. Technically it is a breaking change but that ship has mostly sailed since the last release. Some context:
|
Agreed with your points there. I tried escaping the '%' characters with another '%' to no success. Also, tried using TOML syntax but was having other unrelated parsing errors. So that was my last alternative which fixed the issue without too much complex tinkering with the code. IMHO, if there are only few use cases for interpolation, a better way would be to make it contained to those special cases if its really needed. But I'm more inclined to your third point there. Thanks for reviewing this. If you want me to make a PR, please let me know. |
Please open an issue if you ran into bugs with the TOML syntax.
Go for it! |
I'm using the Bugzilla service with the bugzilla.query_url option like this in .bugwarrionrc:
And get the following error while running $bugwarrior-pull --flavor bz.task:
The text was updated successfully, but these errors were encountered: