Revision: 7814
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7814&view=rev
Author: jrevans
Date: 2009-09-21 23:02:27 +0000 (Mon, 21 Sep 2009)
Log Message:
-----------
Fixed a typo in _get_key. Was checking if a key existed in a dictionary in a
way that does not work.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/backends/backend_qt.py
Modified: trunk/matplotlib/lib/matplotlib/backends/backend_qt.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/backends/backend_qt.py 2009-09-21
17:12:47 UTC (rev 7813)
+++ trunk/matplotlib/lib/matplotlib/backends/backend_qt.py 2009-09-21
23:02:27 UTC (rev 7814)
@@ -176,7 +176,7 @@
def _get_key( self, event ):
if event.key() < 256:
key = event.text().latin1()
- elif event.key() in self.keyvald.has_key:
+ elif event.key() in self.keyvald:
key = self.keyvald[ event.key() ]
else:
key = None
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins