Closed blalor closed 9 years ago
rpmbuild.build:main fails on python 2.6.6 because line.decode doesn't accept the encoding keyword arg. It does work on python2.7; not sure how to reconcile that with python3.
rpmbuild.build:main
line.decode
encoding
https://github.com/shawnsi/docker-rpmbuild/blob/master/rpmbuild/build.py#L75
I'm not sure on best approach here. Maybe a try/except clause to handle python 2.6?
Will accept a pull request that resolves the issue but I don't need this fixed myself.
rpmbuild.build:main
fails on python 2.6.6 becauseline.decode
doesn't accept theencoding
keyword arg. It does work on python2.7; not sure how to reconcile that with python3.https://github.com/shawnsi/docker-rpmbuild/blob/master/rpmbuild/build.py#L75