fix to entry

This commit is contained in:
John Wiegley 2004-09-24 00:23:27 -04:00
parent 50e8cad6b4
commit 2c7593ae29
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ ledger.so: python.cc libledger.la
install-exec-hook:
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
python setup.py install --install-base=$(DESTDIR) --root
python setup.py install --prefix=$(prefix)
endif

View file

@ -112,7 +112,7 @@ entry_t * derive_new_entry(journal_t& journal,
done:
if (! run_hooks(journal.entry_finalize_hooks, *added))
return NULL;
throw error("Failed to finalize derived entry (check commodities)");
return added.release();
}