summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-27 04:12:59 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-27 04:12:59 +0000
commit6f14f7f943dffc4e1464d30eb113430723ad040a (patch)
treee33004b74bf513c1bf8f7f2400b90aa5498453c7
parent92a9759a0ce171e7980b1f155f18121d14b00bd8 (diff)
downloadportage-6f14f7f943dffc4e1464d30eb113430723ad040a.tar.gz
portage-6f14f7f943dffc4e1464d30eb113430723ad040a.tar.bz2
portage-6f14f7f943dffc4e1464d30eb113430723ad040a.zip
Remove deprecated flushmtimedb function.
svn path=/main/trunk/; revision=15476
-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)