1 |
commit: 15b89363ddc6633ba54e0d84d4daca1f6e2127c8 |
2 |
Author: Sebastian Luther <SebastianLuther <AT> gmx <DOT> de> |
3 |
AuthorDate: Mon Jan 27 22:10:32 2014 +0000 |
4 |
Commit: Sebastian Luther <SebastianLuther <AT> gmx <DOT> de > |
5 |
CommitDate: Wed Feb 5 19:39:21 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=15b89363 |
7 |
|
8 |
Package.__str__: show slot/sub-slot |
9 |
|
10 |
--- |
11 |
pym/_emerge/Package.py | 5 +++-- |
12 |
1 file changed, 3 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py |
15 |
index c795568..a09f73c 100644 |
16 |
--- a/pym/_emerge/Package.py |
17 |
+++ b/pym/_emerge/Package.py |
18 |
@@ -1,4 +1,4 @@ |
19 |
-# Copyright 1999-2013 Gentoo Foundation |
20 |
+# Copyright 1999-2014 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
from __future__ import unicode_literals |
24 |
@@ -468,7 +468,8 @@ class Package(Task): |
25 |
cpv_color = "PKG_NOMERGE" |
26 |
|
27 |
s = "(%s, %s" \ |
28 |
- % (portage.output.colorize(cpv_color, self.cpv + _repo_separator + self.repo) , self.type_name) |
29 |
+ % (portage.output.colorize(cpv_color, self.cpv + _slot_separator + \ |
30 |
+ self.slot + "/" + self.sub_slot + _repo_separator + self.repo) , self.type_name) |
31 |
|
32 |
if self.type_name == "installed": |
33 |
if self.root_config.settings['ROOT'] != "/": |