Message8029

Author ejannett
Recipients amak, ejannett, fwierzbicki, zyasoft
Date 2013-05-23.07:50:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369295413.12.0.74114885724.issue1572@psf.upfronthosting.co.za>
In-reply-to
Content
This seems easy to fix. such "noise" on the console really disturb any scripting around jython. message from package manager also happen any time an update of Java used is installed 

suggested fix
diff -r aa079dc20555 src/org/python/core/packagecache/CachedJarsPackageManager.java
--- a/src/org/python/core/packagecache/CachedJarsPackageManager.java	Sat May 11 19:28:25 2013 +0100
+++ b/src/org/python/core/packagecache/CachedJarsPackageManager.java	Thu May 23 09:46:38 2013 +0200
@@ -272,7 +272,7 @@
 
                 if ((entry == null || !(new File(entry.cachefile).exists()))
                         && cache) {
-                    message("processing new jar, '" + jarcanon + "'");
+                    comment("processing new jar, '" + jarcanon + "'");
 
                     String jarname;
                     if (localfile) {
@@ -303,7 +303,7 @@
                 if (caching) {
                     this.indexModified = true;
                     if (entry.mtime != 0) {
-                        message("processing modified jar, '" + jarcanon + "'");
+                        comment("processing modified jar, '" + jarcanon + "'");
                     }
                     entry.mtime = mtime;
                 }
History
Date User Action Args
2013-05-23 07:50:13ejannettsetmessageid: <1369295413.12.0.74114885724.issue1572@psf.upfronthosting.co.za>
2013-05-23 07:50:13ejannettsetrecipients: + ejannett, fwierzbicki, amak, zyasoft
2013-05-23 07:50:12ejannettlinkissue1572 messages
2013-05-23 07:50:12ejannettcreate