From 874c4677898cabfcfa33d4198375005c2fd05bc6 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 2 Apr 2014 04:56:16 -0700 Subject: [PATCH] briefer mixed amount debug output below level 3 --- hledger-lib/Hledger/Data/Amount.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Data/Amount.hs b/hledger-lib/Hledger/Data/Amount.hs index e866c582d..19de1f864 100644 --- a/hledger-lib/Hledger/Data/Amount.hs +++ b/hledger-lib/Hledger/Data/Amount.hs @@ -332,7 +332,7 @@ canonicaliseAmount styles a@Amount{acommodity=c, astyle=s} = a{astyle=s'} instance Show MixedAmount where show - -- debugLevel < 3 = intercalate "\\n" . lines . showMixedAmountWithoutPrice + | debugLevel < 3 = intercalate "\\n" . lines . showMixedAmountWithoutPrice -- debugLevel < 6 = intercalate "\\n" . lines . showMixedAmount | otherwise = showMixedAmountDebug