Fix python demo: EUROPEAN was changed to DECIMAL_COMMA

Signed-off-by: Priit Laes <plaes@plaes.org>
This commit is contained in:
Priit Laes 2010-06-13 14:17:57 +03:00 committed by John Wiegley
parent 7ef478bc50
commit d578395a65

View file

@ -67,8 +67,8 @@ assert not 'CAD' in comms
# want all amounts to default to the European-style, set the static variable
# `european_by_default'.
eur.add_flags(ledger.COMMODITY_STYLE_EUROPEAN)
assert eur.has_flags(ledger.COMMODITY_STYLE_EUROPEAN)
eur.add_flags(ledger.COMMODITY_STYLE_DECIMAL_COMMA)
assert eur.has_flags(ledger.COMMODITY_STYLE_DECIMAL_COMMA)
assert not eur.has_flags(ledger.COMMODITY_STYLE_THOUSANDS)
comms.european_by_default = True