diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-20 21:44:10 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-20 21:44:10 +0000 |
commit | c79fe82bf25399dd017116a3d8ddb6e0fc07ca0b (patch) | |
tree | 1b97eeb5c982dcb477b6330487c6a64ab352ae1b /bin/emaint | |
parent | 67f5b72d2722b0938259a2b6b8d2c028edd48ac9 (diff) | |
download | portage-c79fe82bf25399dd017116a3d8ddb6e0fc07ca0b.tar.gz portage-c79fe82bf25399dd017116a3d8ddb6e0fc07ca0b.tar.bz2 portage-c79fe82bf25399dd017116a3d8ddb6e0fc07ca0b.zip |
Convert all the checks in repoman.checks to use a new LineCheck
interface that takes a single line as an argument. This has at
least a few of benefits:
* Eliminates lots of redundant code
* Error messages are ordered by line number across all checks
The performance is slightly worse due to the increased number
of method calls, but it's not really noticeable in comparison
to the time consumed by dependency checks.
Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial
patch which I only made a few minor modifications to.
(trunk r8483)
Make the EbuildQuote.missing_quotes regex accept single
quotes where it accepts double quotes in order to
eliminate some false positives. Thanks to Krzysiek
Pawlik <nelchael@gentoo.org> for reporting.
(trunk r8485)
svn path=/main/branches/2.1.2/; revision=8552
Diffstat (limited to 'bin/emaint')
0 files changed, 0 insertions, 0 deletions