-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpmtoys.hdr: use hdr.tagent instead of 4 dicts
This improves the TagEntry namedtuple class, moves hdr.tagents to hdr.tagent, and drops the redundant dicts (hdr.tagtype, hdr.tagrange, hdr.tagsize, hdr.tagcnt). Needed a little refactoring here and there to make other stuff use tagent properly. Also, add rpm.itertags() so you can easily iterate through all an RPM's tags. Whee!
- Loading branch information
Showing
3 changed files
with
38 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters