From: Sebastian Luther Date: Wed, 11 Aug 2010 05:52:10 +0000 (+0200) Subject: Remove deprecated portage.commit_mtimedb X-Git-Tag: v2.2_rc68~316 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d4b290462810b859d780e83921d187d43e20b443;p=portage.git Remove deprecated portage.commit_mtimedb --- 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: