r6982 - online-desktop/trunk/pyddm/ddm
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r6982 - online-desktop/trunk/pyddm/ddm
- Date: Thu, 6 Dec 2007 16:27:23 -0600 (CST)
Author: otaylor
Date: 2007-12-06 16:27:23 -0600 (Thu, 06 Dec 2007)
New Revision: 6982
Modified:
online-desktop/trunk/pyddm/ddm/Resource.py
Log:
Fix AttributeError on failed lookup by property id
Modified: online-desktop/trunk/pyddm/ddm/Resource.py
===================================================================
--- online-desktop/trunk/pyddm/ddm/Resource.py 2007-12-06 22:16:53 UTC (rev 6981)
+++ online-desktop/trunk/pyddm/ddm/Resource.py 2007-12-06 22:27:23 UTC (rev 6982)
@@ -169,7 +169,7 @@
try:
return self.__properties[property_id]
except KeyError:
- raise AttributeError(property)
+ raise AttributeError(property_id)
def __getattr__(self, name):
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]