From: Zac Medico Date: Thu, 6 Nov 2008 04:56:17 +0000 (-0000) Subject: In Atom.__setattr__(), include inputs in case it helps for debugging with X-Git-Tag: v2.2_rc14~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db5a184774f995880718f07b0a4388cfb65e0773;p=portage.git In Atom.__setattr__(), include inputs in case it helps for debugging with derived classes. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=11813 --- diff --git a/pym/portage/dep.py b/pym/portage/dep.py index bcfe63c45..c17602117 100644 --- 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): """