diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-12-07 02:54:30 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-12-07 02:54:30 +0000 |
commit | 42f30b0a969555328117ee6c79905f590ff05b53 (patch) | |
tree | 69aa669a7fd822eeb24499da69fb7916aebce2cc | |
parent | Remove unnecessary elog_process() phasefilter arguements. (trunk r14957) (diff) | |
download | portage-multirepo-2.1.7.11.tar.gz portage-multirepo-2.1.7.11.tar.bz2 portage-multirepo-2.1.7.11.zip |
Remove unused filter_phases, filter_mergephases, and filter_unmergephasesv2.1.7.11
functions. (trunk r14958)
svn path=/main/branches/2.1.7/; revision=14960
-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 d4d40534..d834edd3 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"]) |