From d4b290462810b859d780e83921d187d43e20b443 Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Wed, 11 Aug 2010 07:52:10 +0200 Subject: [PATCH] Remove deprecated portage.commit_mtimedb --- pym/portage/__init__.py | 2 +- pym/portage/_deprecated.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 555dc2be8..e7cec02cf 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -131,7 +131,7 @@ try: 'cpv_getkey@getCPFromCPV,endversion_keys,' + \ 'suffix_value@endversion,pkgcmp,pkgsplit,vercmp,ververify', 'portage.xpak', - 'portage._deprecated:commit_mtimedb,dep_virtual,' + \ + 'portage._deprecated:dep_virtual,' + \ 'digestParseFile,getvirtuals,pkgmerge', ) diff --git a/pym/portage/_deprecated.py b/pym/portage/_deprecated.py index a7da5f965..7b9abec4e 100644 --- a/pym/portage/_deprecated.py +++ b/pym/portage/_deprecated.py @@ -15,11 +15,6 @@ from portage.localization import _ from portage.manifest import Manifest from portage.util import writemsg, writemsg_stdout -def commit_mtimedb(mydict=None, filename=None): - warnings.warn("portage.commit_mtimedb() is deprecated, " + \ - "use portage.mtimedb.commit() instead", - DeprecationWarning, stacklevel=2) - def digestParseFile(myfilename, mysettings=None): """(filename) -- Parses a given file for entries matching: -- 2.26.2