1 |
Author: zmedico |
2 |
Date: 2010-02-27 04:12:59 +0000 (Sat, 27 Feb 2010) |
3 |
New Revision: 15476 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
Remove deprecated flushmtimedb function. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/__init__.py 2010-02-27 04:07:39 UTC (rev 15475) |
14 |
+++ main/trunk/pym/portage/__init__.py 2010-02-27 04:12:59 UTC (rev 15476) |
15 |
@@ -750,7 +750,7 @@ |
16 |
|
17 |
global db, settings, root, portdb, selinux_enabled, mtimedbfile, mtimedb, \ |
18 |
archlist, features, groups, pkglines, thirdpartymirrors, usedefaults, \ |
19 |
- profiledir, flushmtimedb |
20 |
+ profiledir |
21 |
|
22 |
# Portage needs to ensure a sane umask for the files it creates. |
23 |
os.umask(0o22) |
24 |
@@ -789,8 +789,6 @@ |
25 |
profiledir = os.path.join(settings["PORTAGE_CONFIGROOT"], PROFILE_PATH) |
26 |
if not os.path.isdir(profiledir): |
27 |
profiledir = None |
28 |
- def flushmtimedb(record): |
29 |
- writemsg("portage.flushmtimedb() is DEPRECATED\n") |
30 |
# ======================================================================== |
31 |
# COMPATIBILITY |
32 |
# These attributes should not be used |
33 |
@@ -810,6 +808,5 @@ |
34 |
|
35 |
for k in ("db", "settings", "root", "selinux_enabled", |
36 |
"archlist", "features", "groups", |
37 |
- "pkglines", "thirdpartymirrors", "usedefaults", "profiledir", |
38 |
- "flushmtimedb"): |
39 |
+ "pkglines", "thirdpartymirrors", "usedefaults", "profiledir"): |
40 |
globals()[k] = _LegacyGlobalProxy(k) |