dabo Commit
Revision 6068
Date: 2010-10-03 15:13:21 -0700 (Sun, 03 Oct 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6068

Changed:
U   trunk/dabo/lib/reportWriter.py

Log:
Fixed a typo from the recent changes to eliminate has_key().


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2010-10-03 20:33:04 UTC (rev 6067)
+++ trunk/dabo/lib/reportWriter.py      2010-10-03 22:13:21 UTC (rev 6068)
@@ -230,7 +230,7 @@
                        else:
                                raise ValueError("Property name '%s' 
unrecognized." % prop)
 
-               if prop in self.AvailableProps:
+               if prop in self:
                        if not evaluate or prop == "type":
                                return self[prop]
                        try:



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to