diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-07 06:40:25 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-07 08:34:01 -0500 |
commit | 9b2c2b603297ac494e06543c9937a222b6c81649 (patch) | |
tree | 1ab96b9f3345efaa3316f602e1d6a5ad52c8adae /src/pyinterp.cc | |
parent | 1a43b2279195e845e370d08c78151a8188a67560 (diff) | |
download | fork-ledger-9b2c2b603297ac494e06543c9937a222b6c81649.tar.gz fork-ledger-9b2c2b603297ac494e06543c9937a222b6c81649.tar.bz2 fork-ledger-9b2c2b603297ac494e06543c9937a222b6c81649.zip |
Python vars of unconvertable type return NULL_VALUE
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r-- | src/pyinterp.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc index 3c86ed4b..b9e1a0e0 100644 --- a/src/pyinterp.cc +++ b/src/pyinterp.cc @@ -354,14 +354,7 @@ value_t python_interpreter_t::functor_t::operator()(call_scope_t& args) std::signal(SIGINT, sigint_handler); if (val.check()) return val(); -#if 1 - // jww (2009-02-24): Distinguish between "no return" and values with - // unconvertable type return NULL_VALUE; -#else - throw_(calc_error, - _("Could not evaluate Python variable '%1'") << name); -#endif } else if (args.size() > 0) { list arglist; |