gnucash maint: Fix a variable name typo in Python binding gnc_pricedb_lookup_latest_before_t64
Christopher Lam
clam at code.gnucash.org
Sun Jun 13 05:24:06 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/79d5270c (commit)
from https://github.com/Gnucash/gnucash/commit/c2472936 (commit)
commit 79d5270c9d256638aca0618098fb657bb6523ffd
Author: Hong Xu <hong at topbug.net>
Date: Sun Jun 13 01:12:59 2021 -0700
Fix a variable name typo in Python binding gnc_pricedb_lookup_latest_before_t64
commodit -> commodity
diff --git a/bindings/python/gnucash_core.py b/bindings/python/gnucash_core.py
index f088fd03f..b4d7126b7 100644
--- a/bindings/python/gnucash_core.py
+++ b/bindings/python/gnucash_core.py
@@ -505,7 +505,7 @@ class GncPriceDB(GnuCashCoreClass):
@deprecated("Use gnc_pricedb_latest_before_t64")
def gnc_pricedb_lookup_latest_before_t64(self, commodity, currency, date):
- return self.lookup_nearest_before_t64(commodit, currency,date)
+ return self.lookup_nearest_before_t64(commodity, currency, date)
GncPriceDB.add_method('gnc_pricedb_lookup_latest_before_t64', 'lookup_latest_before_t64')
Summary of changes:
bindings/python/gnucash_core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list