Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/
Date: Tue, 20 Dec 2011 23:27:14
Message-Id: 73ae5b670836e389949d085ad394a0b9061caf13.zmedico@gentoo
1 commit: 73ae5b670836e389949d085ad394a0b9061caf13
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 20 23:26:54 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 20 23:26:54 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=73ae5b67
7
8 hashed_path: implement __repr__
9
10 ---
11 pym/portage/eclass_cache.py | 2 ++
12 1 files changed, 2 insertions(+), 0 deletions(-)
13
14 diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py
15 index 1044ad0..cb2cf8a 100644
16 --- a/pym/portage/eclass_cache.py
17 +++ b/pym/portage/eclass_cache.py
18 @@ -49,6 +49,8 @@ class hashed_path(object):
19 setattr(self, attr, val)
20 return val
21
22 + def __repr__(self):
23 + return "<portage.eclass_cache.hashed_path('%s')>" % (self.location,)
24
25 class cache(object):
26 """