This bug is not a duplicate of that other one; I am still experiencing
this even with devscripts 2.12.6ubuntu2 installed.
Steps to reproduce:
1. Go into any directory containing a debian/ subdirectory,
2. type 'wrap-and-sort'
3. Observe the following traceback:
$ wrap-and-sort
Traceback (most recent call last):
File "/usr/bin/wrap-and-sort", line 227, in <module>
main()
File "/usr/bin/wrap-and-sort", line 224, in main
wrap_and_sort(options)
File "/usr/bin/wrap-and-sort", line 146, in wrap_and_sort
control.save()
File "/usr/lib/python3/dist-packages/devscripts/control.py", line 70, in save
control_file.write(content.encode("utf-8"))
TypeError: must be str, not bytes
4. Notice that debian/control has become zero-length.
** This bug is no longer a duplicate of bug 1099091
pull-debian-source crashed with ImportError in __main__: No module named
devscripts.logger
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1099589
Title:
wrap-and-sort crashed with TypeError in save(): must be str, not bytes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1099589/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs