[pypy-svn] r7383 - pypy/trunk/src/pypy/translator/tool/pygame
mgedmin at codespeak.net
mgedmin at codespeak.net
Thu Nov 18 16:02:35 CET 2004
Author: mgedmin
Date: Thu Nov 18 16:02:35 2004
New Revision: 7383
Modified:
pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py
Log:
Minor nicety.
Modified: pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py (original)
+++ pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py Thu Nov 18 16:02:35 2004
@@ -429,7 +429,7 @@
def search_for_node(self, searchstr, start_at=None):
"""Find a node that contains a search string."""
iter = self.graphlayout.nodes.itervalues()
- if start_at:
+ if start_at is not None:
# Skip all nodes up to and including 'start_at'
for node in iter:
if node is start_at:
More information about the Pypy-commit
mailing list