Pierre-Yves Chibon
392627ecab
Run black over the entire project
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-29 11:41:28 +02:00
Nils Philippsen
fcbb4eea2c
flake8: fix import order, xml
is a system package
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-12-18 15:34:46 +01:00
Nils Philippsen
f01960d719
allow lazy expansion of log format strings
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-26 09:42:26 +01:00
Nils Philippsen
6e574a5067
straighten out finding primary.xml file
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-26 09:42:26 +01:00
Nils Philippsen
399bb28420
use list and set comprehensions where appropriate
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-25 15:44:14 +01:00
Nils Philippsen
81256bdd8a
fix extracting summaries from primary.xml
...
The previous implementation using a SAX parser processed incomplete XML
elements, which would e.g. change BZ component description to only the
last couple characters of the RPM summary.
In the course, consolidate to use only one the defusedxml element tree
XML parser.
fixes : #23
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-22 15:20:04 +01:00
Nils Philippsen
5e4a0e45a3
don't redefine hash
built-in
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-22 15:16:10 +01:00
Nils Philippsen
4a590170b0
more typo, plural, wording fixes
...
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-22 15:16:10 +01:00