diff options
author | Tim McNamara <paperless@timmcnamara.co.nz> | 2010-08-14 11:03:11 (GMT) |
---|---|---|
committer | Tim McNamara <paperless@timmcnamara.co.nz> | 2010-08-14 11:03:11 (GMT) |
commit | 741e8fd0686fe971c42d73133c601e878f398f2a (patch) | |
tree | 0b45dd115d72f73afddf875783ea5f55d9eec2ec | |
parent | b5fdfa41bf87d167fa18ae93602efdd28c20296f (diff) |
Fixup
Shebang, encoding made compliant with PEP 8. Appended the parent
directory into sys.path.
-rwxr-xr-x | Experior.Activity/tests/test_sugarbot.py | 34 |
1 files changed, 18 insertions, 16 deletions
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 <http://www.gnu.org/licenses/>. +from sys import path +path.append('..') -You should have received a copy of the GNU General Public License -along with sugarbot. If not, see <http://www.gnu.org/licenses/>. -""" from sugarbot import * class rpcFailure(Exception): |