r15438 - gnucash/branches/2.0 - Don't abort when F::Q fails to return a quote. GnuCash may have
Derek Atkins
warlord at cvs.gnucash.org
Sat Jan 27 23:08:22 EST 2007
Author: warlord
Date: 2007-01-27 23:08:21 -0500 (Sat, 27 Jan 2007)
New Revision: 15438
Trac: http://svn.gnucash.org/trac/changeset/15438
Modified:
gnucash/branches/2.0/
gnucash/branches/2.0/ChangeLog
gnucash/branches/2.0/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.
Merge from r15397
Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
- 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13969
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
+ 3889ce50-311e-0410-a464-f059747ec5d1:/local/gnucash/branches/2.0:697
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:13970
d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/trunk:13282
Modified: gnucash/branches/2.0/ChangeLog
===================================================================
--- gnucash/branches/2.0/ChangeLog 2007-01-28 04:08:04 UTC (rev 15437)
+++ gnucash/branches/2.0/ChangeLog 2007-01-28 04:08:21 UTC (rev 15438)
@@ -1,6 +1,11 @@
+2007-01-27 David Hampton <hampton at employees.org>
+
+ * Don't abort when F::Q fails to return a quote. GnuCash may have
+ more quote sources to query. Fixes #387410.
+
2007-01-27 Andreas Köhler <andi5.py at gmx.net>
- Adjust box packing in payment dialog. Fix #393024.
+ * Adjust box packing in payment dialog. Fix #393024.
2007-01-12 Andreas Köhler <andi5.py at gmx.net>
Modified: gnucash/branches/2.0/src/quotes/gnc-fq-helper.in
===================================================================
--- gnucash/branches/2.0/src/quotes/gnc-fq-helper.in 2007-01-28 04:08:04 UTC (rev 15437)
+++ gnucash/branches/2.0/src/quotes/gnc-fq-helper.in 2007-01-28 04:08:21 UTC (rev 15438)
@@ -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