From 40a7f71c7714f850746aed39d41610c1fffd502a Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 15 Sep 2009 00:22:13 +0000 Subject: [PATCH] minor cleanup --- direct/src/p3d/AppRunner.py | 1 + direct/src/plugin/load_plugin.cxx | 4 +++- direct/src/plugin/p3dPythonMain.cxx | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/p3d/AppRunner.py b/direct/src/p3d/AppRunner.py index e0806371c0..6cabdfa4e5 100644 --- a/direct/src/p3d/AppRunner.py +++ b/direct/src/p3d/AppRunner.py @@ -457,6 +457,7 @@ class AppRunner(DirectObject): print "Couldn't find %s %s on %s" % (name, version, hostUrl) return + package.checkStatus() package.downloadDescFile(self.http) package.downloadPackage(self.http) package.installPackage(self) diff --git a/direct/src/plugin/load_plugin.cxx b/direct/src/plugin/load_plugin.cxx index 15b4b02b00..fc51c16e3b 100755 --- a/direct/src/plugin/load_plugin.cxx +++ b/direct/src/plugin/load_plugin.cxx @@ -157,7 +157,9 @@ load_plugin(const string &p3d_plugin_filename, module = LoadLibrary(filename.c_str()); if (module == NULL) { // Couldn't load the DLL. - logfile << "Couldn't load " << filename << "\n"; + logfile + << "Couldn't load " << filename << ", error = " + << GetLastError() << "\n"; return false; } diff --git a/direct/src/plugin/p3dPythonMain.cxx b/direct/src/plugin/p3dPythonMain.cxx index 7e72a5fc27..3324111982 100644 --- a/direct/src/plugin/p3dPythonMain.cxx +++ b/direct/src/plugin/p3dPythonMain.cxx @@ -80,9 +80,6 @@ main(int argc, char *argv[]) { } } - cerr << "handles: " << input_handle << ", " << output_handle << "\n"; - cerr << "interactive_console = " << interactive_console << "\n"; - if (!run_p3dpython(program_name, archive_file, input_handle, output_handle, NULL, interactive_console)) { cerr << "Failure on startup.\n";