Comment 0 for bug 898261

Revision history for this message
Joel Montes de Oca (joelmontes01) wrote : Python GPL licence auto generation bug

When a new python PyGTK project is created, it generates GPL licence and code within the <project-name>.py file. On line 5, there is a bug where the string after the comment hash tag (#) is moved to the bottom line. This causes an error when the script is ran.

Example

#!/usr/bin/python
#
# main.py
# Copyright (C) Joel Montes de Oca 2011 <joel@Backbird>
#
pygtk-foobar is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
{...}