This patch makes the feedgen flake8 compatible, fixing some minor issues
along the way. Most noticeable, this switches from tabs to spaces.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
When piping to stdout the special handling for Pthon 3 will cause
problems in Python 2 and produce an Unicode encoding error. This commit
separates the output handling of both Python versions.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
The introduced way of printing things in python3 would work for byte
arrays but not for simple strings. This patch fixes this issue.
Signed-off-by: Lars Kiesow <lkiesow@uos.de>