1 |
Author: zmedico |
2 |
Date: 2010-02-21 09:32:15 +0000 (Sun, 21 Feb 2010) |
3 |
New Revision: 15415 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
Show a deprecation warning when pkgmerge() is called. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/__init__.py 2010-02-21 09:22:56 UTC (rev 15414) |
14 |
+++ main/trunk/pym/portage/__init__.py 2010-02-21 09:32:15 UTC (rev 15415) |
15 |
@@ -8801,6 +8801,10 @@ |
16 |
"""will merge a .tbz2 file, returning a list of runtime dependencies |
17 |
that must be satisfied, or None if there was a merge error. This |
18 |
code assumes the package exists.""" |
19 |
+ |
20 |
+ warnings.warn("portage.pkgmerge() is deprecated", |
21 |
+ DeprecationWarning, stacklevel=2) |
22 |
+ |
23 |
global db |
24 |
if mydbapi is None: |
25 |
mydbapi = db[myroot]["bintree"].dbapi |