Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim McNamara <code@timmcnamara.co.nz>2010-08-14 11:17:36 (GMT)
committer Tim McNamara <code@timmcnamara.co.nz>2010-08-14 11:17:36 (GMT)
commitb59ac93cd77000b590701d1a4ec6c59752eb5d91 (patch)
tree4eeb63c2400251de1e9d5762c86a1d8fbaf5ff69
parent7aca0846b749e60bf4ba5e51d1bace9000bf37ec (diff)
fixed start: shebang/encoding
Fixed start to comply with PEP 8: - shebang now works - encoding declaration now compliant - removed licence boilerplate from docstring
-rwxr-xr-xExperior.Activity/widgetIdentifier.py34
1 files changed, 17 insertions, 17 deletions
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 <http://www.gnu.org/licenses/>.
-You should have received a copy of the GNU General Public License
-along with sugarbot. If not, see <http://www.gnu.org/licenses/>.
-"""
import gobject
import sys
import os
@@ -257,4 +257,4 @@ class toolComboBoxIdentifier(widgetIdentifier):
# </DEPRECATED>
return ident
-widgetIdentifier.identifiers[ToolComboBox] = toolComboBoxIdentifier \ No newline at end of file
+widgetIdentifier.identifiers[ToolComboBox] = toolComboBoxIdentifier