minor cleanup

This commit is contained in:
David Rose 2009-09-15 00:22:13 +00:00
parent 6a17f6c388
commit 40a7f71c77
3 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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;
}

View File

@ -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";