remove annoying error message for now

This commit is contained in:
David Rose 2009-11-23 19:20:44 +00:00
parent 538e17d302
commit d3bc7e497d
1 changed files with 4 additions and 1 deletions

View File

@ -262,7 +262,10 @@ def generateNativeWrappers():
# the library isn't present. This is particularly necessary
# in the runtime (plugin) environment, where all libraries are
# not necessarily downloaded.
pandaModules.write('try:\n from %sModules import *\nexcept ImportError, err:\n if "DLL loader cannot find" not in str(err):\n raise\n print "Failed to import %s"\n\n' % (moduleName, moduleName))
pandaModules.write('try:\n from %sModules import *\nexcept ImportError, err:\n if "DLL loader cannot find" not in str(err):\n raise\n' % (moduleName))
# Not sure if this message is helpful or annoying.
#pandaModules.write(' print "Failed to import %s"\n' % (moduleName))
pandaModules.write('\n')
moduleModulesFilename = os.path.join(outputCodeDir, '%sModules.py' % (moduleName))
moduleModules = open(moduleModulesFilename, 'w')