Open mzfr opened 5 years ago
@MrTango this is due to codecs
library which is adding b''
in Python3.
https://docs.python.org/3/library/codecs.html#codecs.open
And not in Python2.
@kakshay21 Can I work on this issue?
Sure but see that you don't break anything in py2.7
I was testing plonecli by creating an addon.
I started with
plonecli create addon src/collective.todo
Here When I was prompted for
Author's name
instead of entering anything I simply pressed enter and same forAuthor's email
.Now when I tried to build by doing
plonecli build
I got an error:In the first traceback we can see that
author='b'mzfr'',
is causing a problem becauseb'mzfr'
is actually treated as a string so an extra''
are added around that. This same problem is happening with theemail
.This was fixed when I removed those extra quotes(
''
) from the name and email i.e