diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-27 03:55:02 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-27 03:55:02 -0600 |
commit | 9449ca2c807754826ba63831c247779370e9059d (patch) | |
tree | ea9e9c824a3f18c3a857f0ca3bfdcb610e2c4912 /src/xact.cc | |
parent | 61bc7362ca974543c9b851f8fc81fe981569ad6c (diff) | |
download | fork-ledger-9449ca2c807754826ba63831c247779370e9059d.tar.gz fork-ledger-9449ca2c807754826ba63831c247779370e9059d.tar.bz2 fork-ledger-9449ca2c807754826ba63831c247779370e9059d.zip |
Whitespace fix
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xact.cc b/src/xact.cc index ce4c032e..08dccaf2 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -667,12 +667,11 @@ void auto_xact_t::extend_xact(xact_base_t& xact) pair.first.calc(bound_scope); } else if (! pair.first.calc(bound_scope).to_boolean()) { - if (pair.second == auto_xact_t::EXPR_ASSERTION) { + if (pair.second == auto_xact_t::EXPR_ASSERTION) throw_(parse_error, _("Transaction assertion failed: %1") << pair.first); - } else { + else warning_(_("Transaction check failed: %1") << pair.first); - } } } } |