From b59ac93cd77000b590701d1a4ec6c59752eb5d91 Mon Sep 17 00:00:00 2001 From: Tim McNamara Date: Sat, 14 Aug 2010 11:17:36 +0000 Subject: fixed start: shebang/encoding Fixed start to comply with PEP 8: - shebang now works - encoding declaration now compliant - removed licence boilerplate from docstring --- diff --git a/Experior.Activity/widgetIdentifier.py b/Experior.Activity/widgetIdentifier.py index c9eb7dd..e41483f 100755 --- a/Experior.Activity/widgetIdentifier.py +++ b/Experior.Activity/widgetIdentifier.py @@ -1,23 +1,23 @@ -#!/usr/bin/env python -# encoding: utf-8 -""" -widgetIdentifier.py +#! /usr/bin/env python +# -*- encoding: utf-8 -*- -This file is part of sugarbot. +#widgetIdentifier.py -sugarbot 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. +#This file is part of sugarbot. -sugarbot 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. +#sugarbot 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. + +#sugarbot 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 sugarbot. If not, see . -You should have received a copy of the GNU General Public License -along with sugarbot. If not, see . -""" import gobject import sys import os @@ -257,4 +257,4 @@ class toolComboBoxIdentifier(widgetIdentifier): # return ident -widgetIdentifier.identifiers[ToolComboBox] = toolComboBoxIdentifier \ No newline at end of file +widgetIdentifier.identifiers[ToolComboBox] = toolComboBoxIdentifier -- cgit v0.9.1