Permalink
Browse files

Fix python demo: EUROPEAN was changed to DECIMAL_COMMA

Signed-off-by: Priit Laes <plaes@plaes.org>
  • Loading branch information...
plaes authored and jwiegley committed Jun 13, 2010
1 parent 7ef478b commit d578395a65261ee297656d3df3a90756fb4c8b9c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/demo.py
@@ -67,8 +67,8 @@ def assertEqual(pat, candidate):
# 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

0 comments on commit d578395

Please sign in to comment.