Remove deprecated flushmtimedb function. (trunk r15476)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:07:01 +0000 (21:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:07:01 +0000 (21:07 -0000)
svn path=/main/branches/2.1.7/; revision=15685

pym/portage/__init__.py

index dfa3733cdb6d270a902165a5ec2c753b8a266a66..595580fd0c543ec13126f461194cc60a6dc45b3c 100644 (file)
@@ -750,7 +750,7 @@ def init_legacy_globals():
 
        global db, settings, root, portdb, selinux_enabled, mtimedbfile, mtimedb, \
        archlist, features, groups, pkglines, thirdpartymirrors, usedefaults, \
-       profiledir, flushmtimedb
+       profiledir
 
        # Portage needs to ensure a sane umask for the files it creates.
        os.umask(0o22)
@@ -789,8 +789,6 @@ def init_legacy_globals():
        profiledir  = os.path.join(settings["PORTAGE_CONFIGROOT"], PROFILE_PATH)
        if not os.path.isdir(profiledir):
                profiledir = None
-       def flushmtimedb(record):
-               writemsg("portage.flushmtimedb() is DEPRECATED\n")
        # ========================================================================
        # COMPATIBILITY
        # These attributes should not be used
@@ -810,6 +808,5 @@ if True:
 
        for k in ("db", "settings", "root", "selinux_enabled",
                "archlist", "features", "groups",
-               "pkglines", "thirdpartymirrors", "usedefaults", "profiledir",
-               "flushmtimedb"):
+               "pkglines", "thirdpartymirrors", "usedefaults", "profiledir"):
                globals()[k] = _LegacyGlobalProxy(k)