1 |
Author: zmedico |
2 |
Date: 2008-11-06 04:56:17 +0000 (Thu, 06 Nov 2008) |
3 |
New Revision: 11813 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dep.py |
7 |
Log: |
8 |
In Atom.__setattr__(), include inputs in case it helps for debugging with |
9 |
derived classes. Thanks to Brian Harring for the suggestion. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/portage/dep.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/portage/dep.py 2008-11-05 23:55:17 UTC (rev 11812) |
15 |
+++ main/trunk/pym/portage/dep.py 2008-11-06 04:56:17 UTC (rev 11813) |
16 |
@@ -566,7 +566,8 @@ |
17 |
return -1 |
18 |
|
19 |
def __setattr__(self, name, value): |
20 |
- raise AttributeError("Atom instances are immutable") |
21 |
+ raise AttributeError("Atom instances are immutable", |
22 |
+ self.__class__, name, value) |
23 |
|
24 |
def get_operator(mydep): |
25 |
""" |