summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-02 21:07:01 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-02 21:07:01 +0000
commit24079cf684d0f76dcf9b093253b62ef3ccdaea37 (patch)
treed2392e799537aa64f62e16245f0b3bb75140155b /pym
parente1125c9754d4416114c13fb5c722f0d30a76e749 (diff)
downloadportage-24079cf684d0f76dcf9b093253b62ef3ccdaea37.tar.gz
portage-24079cf684d0f76dcf9b093253b62ef3ccdaea37.tar.bz2
portage-24079cf684d0f76dcf9b093253b62ef3ccdaea37.zip
Remove deprecated flushmtimedb function. (trunk r15476)
svn path=/main/branches/2.1.7/; revision=15685
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index dfa3733cd..595580fd0 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -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)