projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
866b553
)
In Atom.__setattr__(), include inputs in case it helps for debugging with
author
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Nov 2008 04:56:17 +0000
(
04:56
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Nov 2008 04:56:17 +0000
(
04:56
-0000)
derived classes. Thanks to Brian Harring for the suggestion.
svn path=/main/trunk/; revision=11813
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index bcfe63c459b2880b5395ca7a06b2b460dafde804..c176021174a2286464ade7c5cfec680cff18df94 100644
(file)
--- a/
pym/portage/dep.py
+++ b/
pym/portage/dep.py
@@
-566,7
+566,8
@@
class Atom(object):
return -1
def __setattr__(self, name, value):
- raise AttributeError("Atom instances are immutable")
+ raise AttributeError("Atom instances are immutable",
+ self.__class__, name, value)
def get_operator(mydep):
"""