Skip to content
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

data: use lxml to get the XDG categories #422

Merged
merged 1 commit into from Aug 1, 2022
Merged

data: use lxml to get the XDG categories #422

merged 1 commit into from Aug 1, 2022

Conversation

pinotree
Copy link
Contributor

Use lxml to get the list of XDG categories from the DocBook file using
XPath queries; this simplifies the code a bit, and makes it more robust.

There is no change in the extracted data.

Use lxml to get the list of XDG categories from the DocBook file using
XPath queries; this simplifies the code a bit, and makes it more robust.

There is no change in the extracted data.
@ximion
Copy link
Owner

ximion commented Aug 1, 2022

I think the original intent was to only use Python stdlib stuff... But XPath queries are so much nicer, thank you for improving this piece of code! :-)

@ximion ximion merged commit 181a486 into ximion:master Aug 1, 2022
9 checks passed
@pinotree pinotree deleted the data-xdg-categories-using-lxml branch August 1, 2022 21:59
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.

None yet

2 participants