r6927 - online-desktop/trunk/pyddm/ddm



Author: hp
Date: 2007-11-19 14:10:12 -0600 (Mon, 19 Nov 2007)
New Revision: 6927

Modified:
   online-desktop/trunk/pyddm/ddm/Resource.py
Log:
fixup exception formatting for ambiguous property request

Modified: online-desktop/trunk/pyddm/ddm/Resource.py
===================================================================
--- online-desktop/trunk/pyddm/ddm/Resource.py	2007-11-19 19:32:41 UTC (rev 6926)
+++ online-desktop/trunk/pyddm/ddm/Resource.py	2007-11-19 20:10:12 UTC (rev 6927)
@@ -178,7 +178,7 @@
             raise AttributeError(name)
         
         if isinstance(property_id,list):
-            raise Exception("%s is ambigious. Possibilities are %s", name, property_id)
+            raise Exception("%s is ambiguous. Possibilities are %s" % (name, property_id))
 
         return self._get_by_id(property_id)
         



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]