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)
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
for k in ("db", "settings", "root", "selinux_enabled",
"archlist", "features", "groups",
- "pkglines", "thirdpartymirrors", "usedefaults", "profiledir",
- "flushmtimedb"):
+ "pkglines", "thirdpartymirrors", "usedefaults", "profiledir"):
globals()[k] = _LegacyGlobalProxy(k)