Anjuta 3.2.0 - Python GPL licence auto generation bug

Bug #898261 reported by Joel Montes de Oca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anjuta (Ubuntu)
Triaged
Low
Unassigned

Bug Description

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.
{...}

description: updated
summary: - Python GPL licence auto generation bug
+ Anjuta 3.2.0 - Python GPL licence auto generation bug
Revision history for this message
Johannes Schmid (jhs.schmid) wrote :

After testing it here, I don't see the problem. The only reason I could image is that you added a \n (Newline character) to the end of the EMAIL environment variable that is used to compute the mail address.

Changed in anjuta (Ubuntu):
status: New → Triaged
Changed in anjuta (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.