Finance::Quote doesn't have a `symbol' label

Matt Kraai kraai@debian.org
Thu, 2 Aug 2001 11:04:52 -0600


Howdy,

Finance::Quote doesn't have a `symbol' label, but the
finance-quote-helper assumes that it does[1].  It should just use
the symbol name directly.  The following patch makes it do so.

Matt

1. http://bugs.debian.org/102202

Index: src/quotes/finance-quote-helper.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/quotes/finance-quote-helper.in,v
retrieving revision 1.7
diff -u -p -r1.7 finance-quote-helper.in
--- src/quotes/finance-quote-helper.in	2001/05/08 09:36:39	1.7
+++ src/quotes/finance-quote-helper.in	2001/08/02 17:02:27
@@ -223,8 +223,7 @@ sub schemify_quote {
   }
 
   $field = 'symbol';
-  $data = schemify_string($$quotehash{$itemname, $field});
-  $quotedata .= "($field . $data)";
+  $quotedata .= "($field . $scmname)";
 
   $field = 'gnc:time-no-zone';
   $data = get_quote_time($itemname, $quotehash);
@@ -364,7 +363,6 @@ while(<>) {
       last SWITCH unless $price;
 
       $quote_data{$from_currency, "success"} = 1;
-      $quote_data{$from_currency, "symbol"} = $from_currency;
       $quote_data{$from_currency, "currency"} = $to_currency;
       $quote_data{$from_currency, "last"} = $price;