work around typeerror reported by user
work around typeerror reported by user

--HG--
extra : rebase_source : 58be3d2b61057eaaeb7c65add568e6fc1d361620

openplans/community-almanac,openplans/community-almanac