Remove deprecated portage.commit_mtimedb
authorSebastian Luther <SebastianLuther@gmx.de>
Wed, 11 Aug 2010 05:52:10 +0000 (07:52 +0200)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Aug 2010 07:47:22 +0000 (00:47 -0700)
pym/portage/__init__.py
pym/portage/_deprecated.py

index 555dc2be80d980fcebca9f92ae2591bcf467d2d3..e7cec02cfba04f6de9f2bc4a9ed641830c2c72de 100644 (file)
@@ -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',
        )
 
index a7da5f965557fdd0456357dd8a8d7084b746da91..7b9abec4e11f0f7a5bd3eade11c3d3553bf1d49f 100644 (file)
@@ -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:
        <checksumkey> <checksum_hex_string> <filename> <filesize>