From afc0cf2be73b85dc9eb07a5a287083fb8523e9d3 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 23 Jan 2012 11:51:22 +0000 Subject: [PATCH] give Pmw another try --- direct/src/p3d/thirdparty.pdef | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/direct/src/p3d/thirdparty.pdef b/direct/src/p3d/thirdparty.pdef index 38fcd04c21..d2405e57f2 100644 --- a/direct/src/p3d/thirdparty.pdef +++ b/direct/src/p3d/thirdparty.pdef @@ -38,14 +38,8 @@ class tk(package): 'direct.tkpanels', 'direct.tkwidgets') - # Hack because Pmw uses weird import stuff. - try: - import Pmw - except ImportError: - # Don't fail if Pmw isn't installed. - Pmw = None - if Pmw: - module('Pmw', 'Pmw.*') + module('Pmw.Pmw_1_3.lib.*', 'Pmw.Pmw_1_2.lib.*') + module('Pmw') class sqlite(package): config(display_name = "SQLite Interface")