AUDIT: r15397 - gnucash/trunk/src/quotes - Don't abort when F::Q fails to return a quote. GnuCash may have

David Hampton hampton at cvs.gnucash.org
Fri Jan 19 00:53:31 EST 2007


Author: hampton
Date: 2007-01-19 00:53:30 -0500 (Fri, 19 Jan 2007)
New Revision: 15397
Trac: http://svn.gnucash.org/trac/changeset/15397

Modified:
   gnucash/trunk/src/quotes/gnc-fq-helper.in
Log:
Don't abort when F::Q fails to return a quote.  GnuCash may have
more quote sources to query.  Fixes #387410.
BP


Modified: gnucash/trunk/src/quotes/gnc-fq-helper.in
===================================================================
--- gnucash/trunk/src/quotes/gnc-fq-helper.in	2007-01-18 01:28:49 UTC (rev 15396)
+++ gnucash/trunk/src/quotes/gnc-fq-helper.in	2007-01-19 05:53:30 UTC (rev 15397)
@@ -361,12 +361,12 @@
     %quote_data = $quoter->fetch($quote_method_name, @$symbols);
   }
 
-  if(!%quote_data) {
+  if (%quote_data) {
+    print schemify_quotes($symbols, \%quote_data);
+  } else {
     print "#f\n";
-    exit 1;
   }
 
-  print schemify_quotes($symbols, \%quote_data);
   STDOUT->flush();
 }
 



More information about the gnucash-changes mailing list