From d86de833e3b60a45675d68bb102fd0385c0908a1 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Thu, 27 Jan 2005 00:36:19 +0000 Subject: [PATCH] formatting --- direct/src/gui/DirectDialog.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/direct/src/gui/DirectDialog.py b/direct/src/gui/DirectDialog.py index 47ce2d5b34..db94a4b846 100644 --- a/direct/src/gui/DirectDialog.py +++ b/direct/src/gui/DirectDialog.py @@ -8,7 +8,6 @@ def findDialog(uniqueName): Returns the panel whose uniqueName is given. This is mainly useful for debugging, to get a pointer to the current onscreen panel of a particular type. - """ if DirectDialog.AllDialogs.has_key(uniqueName): return DirectDialog.AllDialogs[uniqueName] @@ -22,7 +21,6 @@ def cleanupDialog(uniqueName): that opening panel A should automatically close panel B, for instance. """ - if DirectDialog.AllDialogs.has_key(uniqueName): # calling cleanup() will remove it out of the AllDialogs dict # This way it will get removed from the dict even it we did