From 741e8fd0686fe971c42d73133c601e878f398f2a Mon Sep 17 00:00:00 2001 From: Tim McNamara Date: Sat, 14 Aug 2010 11:03:11 +0000 Subject: Fixup Shebang, encoding made compliant with PEP 8. Appended the parent directory into sys.path. --- diff --git a/Experior.Activity/tests/test_sugarbot.py b/Experior.Activity/tests/test_sugarbot.py index 33b6126..aea5b49 100755 --- a/Experior.Activity/tests/test_sugarbot.py +++ b/Experior.Activity/tests/test_sugarbot.py @@ -1,23 +1,25 @@ -#!/usr/bin/env python -# encoding: utf-8 -""" -test_sugarbot.py +#! /usr/bin/env python +# -*- encoding: utf-8 -*- -This file is part of sugarbot. +#test_sugarbot.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 . +from sys import path +path.append('..') -You should have received a copy of the GNU General Public License -along with sugarbot. If not, see . -""" from sugarbot import * class rpcFailure(Exception): -- cgit v0.9.1