Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix get_metadata to handle unicode strings #575
get_metadata was failing with non-ascii
This works with every python version >= 2.6.
To reproduce the issue, run with the current version of fpm (and python 2.X as the default python):
After testing this patch on an ubuntu box I ran into issues and ended up with an alternative approach. I just work around the author issue, which appears to be the only place where there is interpolation with something that can be either a bytestring or a unicode string.
Tested on Archlinux (python 2 and python 3) and that ubuntu box (python 2).