lp bug: https://launchpad.net/bugs/660716 fixed bzr revid: jvo@tinyerp.com-20101015065445-vze4xe17gwzqgar0