diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-07 02:53:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-07 02:53:20 +0000 |
commit | 94ad85d785220d1f83df1ddea0c6a12de6e51a64 (patch) | |
tree | 1675f763211fff9586d3dd0d21087635866cee09 /pym/portage/elog/filtering.py | |
parent | 8704aa8ff599a8a5aaba1b59b977abf45accd918 (diff) | |
download | portage-94ad85d785220d1f83df1ddea0c6a12de6e51a64.tar.gz portage-94ad85d785220d1f83df1ddea0c6a12de6e51a64.tar.bz2 portage-94ad85d785220d1f83df1ddea0c6a12de6e51a64.zip |
Remove unused filter_phases, filter_mergephases, and filter_unmergephasesv2.2_rc56
functions.
svn path=/main/trunk/; revision=14958
Diffstat (limited to 'pym/portage/elog/filtering.py')
-rw-r--r-- | pym/portage/elog/filtering.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pym/portage/elog/filtering.py b/pym/portage/elog/filtering.py index d4d405347..d834edd3a 100644 --- a/pym/portage/elog/filtering.py +++ b/pym/portage/elog/filtering.py @@ -16,23 +16,3 @@ def filter_loglevels(logentries, loglevels): rValue[phase] = [] rValue[phase].append((msgtype, msgcontent)) return rValue - -def filter_phases(logentries, phases): - rValue1 = {} - rValue2 = {} - phases = [x.lower() for x in phases] - for phase in logentries: - if phase in phases: - rValue1[phase] = logentries[phase] - else: - rValue2[phase] = logentries[phase] - return (rValue1, rValue2) - -def filter_mergephases(logentries): - myphases = EBUILD_PHASES[:] - myphases.remove("prerm") - myphases.remove("postrm") - return filter_phases(logentries, myphases) - -def filter_unmergephases(logentries): - return filter_phases(logentries, ["prerm", "postrm", "other"]) |