Remove shebang on file that are not meant to be runnable

Bug #1170651 reported by Marco Giusti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Virtualbricks
Fix Released
Undecided
Marco Giusti

Bug Description

Also the coding cooking is superfluous where there are not non-ascii characters.

I propose to change the following header:

#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
Virtualbricks - a vde/qemu gui written in python and GTK/Glade.
Copyright (C) 2011 Virtualbricks team

This program 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; version 2.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
"""

 to this one:

# Virtualbricks - a vde/qemu gui written in python and GTK/Glade.
# Copyright (C) Virtualbricks team

and optionally the shebang on runnable scripts.

Related branches

Changed in virtualbrick:
status: New → Fix Committed
Revision history for this message
Marco Giusti (marco-giusti) wrote :

Actually the full statement is the following, where the copyright and license notices are comments and not python strings and the first line is only for scripts.

#!/usr/bin/env python
# Optional second line with coding cookie and other variables.
# Virtualbricks - a vde/qemu gui written in python and GTK/Glade.
# Copyright (C) 2013 Virtualbricks team

# This program 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 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Revision history for this message
Marco Giusti (marco-giusti) wrote : Re: [Bug 1170651] Re: Remove shebang on file that are not meant to be runnable

 status fixreleased

Changed in virtualbrick:
status: Fix Committed → Fix Released
Revision history for this message
Marco Giusti (marco-giusti) wrote :

 status fixcommitted

Changed in virtualbrick:
status: Fix Released → Fix Committed
Changed in virtualbrick:
status: Fix Committed → Fix Released
milestone: none → 1.0
assignee: nobody → mg (marco-giusti)
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.