Public bug reported: As you can see here:
``` $ head -n3 /usr/share/apport/package-hooks/source_gnome-screensaver.py ubuntu/devel [ 17:38:44 ] +#!/usr/bin/python + '''Apport package hook for gnome-screensaver ``` This means that I can't report bugs (including this one!) using ubuntu- bug, because I get this: ``` ERROR: hook /usr/share/apport/package-hooks/source_gnome-screensaver.py crashed: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in _run_hook exec(compile(fd.read(), hook, 'exec'), symb) File "/usr/share/apport/package-hooks/source_gnome-screensaver.py", line 1 +#!/usr/bin/python ^ SyntaxError: invalid syntax ``` ** Affects: gnome-screenshot (Ubuntu) Importance: Undecided Status: New ** Tags: packaging -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1804709 Title: Shipped apport hook contains diff lines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1804709/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs