From 151796fa3270634767e0db0bc38b4b9eb14f6483 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 12 Jun 2003 00:42:02 +0000 Subject: [PATCH] Fixed typo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wxPython/wx/__init__.py b/wxPython/wx/__init__.py index b225ae2036..a334633f8d 100644 --- a/wxPython/wx/__init__.py +++ b/wxPython/wx/__init__.py @@ -63,12 +63,11 @@ def _rename(d_new, d_old, modulename=None): else: # add everything else unchanged new = old - if _newnames.has_key(old): + if not _newnames.has_key(old): d_new[new] = obj _newnames[old] = prefix + new # add fully qualified new name to lookup using old name as key # rename the wx namespace itself - _rename(globals(), wx.__dict__) del wx