From b77fbdd90f46b3d1602aa43e99abec096d93888e Mon Sep 17 00:00:00 2001 From: Steve 'Ashcrow' Milner Date: Sun, 13 Jan 2008 14:35:45 -0500 Subject: removed a lot of misplaced shebangs. --- func/minion/codes.py | 3 ++- func/minion/module_loader.py | 2 -- func/minion/modules/filetracker.py | 2 -- func/minion/modules/func_module.py | 2 -- func/minion/modules/hardware.py | 2 -- func/minion/modules/mount.py | 2 -- func/minion/modules/process.py | 2 -- func/minion/modules/reboot.py | 0 func/minion/modules/service.py | 2 -- func/minion/modules/smart.py | 2 -- func/minion/modules/test.py | 2 -- func/minion/modules/virt.py | 2 -- func/minion/utils.py | 7 ------- 13 files changed, 2 insertions(+), 28 deletions(-) mode change 100755 => 100644 func/minion/modules/func_module.py mode change 100755 => 100644 func/minion/modules/hardware.py mode change 100755 => 100644 func/minion/modules/process.py mode change 100755 => 100644 func/minion/modules/reboot.py mode change 100755 => 100644 func/minion/modules/service.py mode change 100755 => 100644 func/minion/modules/smart.py mode change 100755 => 100644 func/minion/modules/test.py mode change 100755 => 100644 func/minion/modules/virt.py (limited to 'func/minion') diff --git a/func/minion/codes.py b/func/minion/codes.py index 3d83668..a20c95e 100755 --- a/func/minion/codes.py +++ b/func/minion/codes.py @@ -1,4 +1,3 @@ -#!/usr/bin/python """ func @@ -19,9 +18,11 @@ import exceptions class FuncException(exceptions.Exception): pass + class InvalidMethodException(FuncException): pass + class AccessToMethodDenied(FuncException): pass diff --git a/func/minion/module_loader.py b/func/minion/module_loader.py index b29f57c..611323d 100755 --- a/func/minion/module_loader.py +++ b/func/minion/module_loader.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## func ## ## Copyright 2007, Red Hat, Inc diff --git a/func/minion/modules/filetracker.py b/func/minion/modules/filetracker.py index 368b3b5..0aa4a49 100644 --- a/func/minion/modules/filetracker.py +++ b/func/minion/modules/filetracker.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## func ## ## filetracker diff --git a/func/minion/modules/func_module.py b/func/minion/modules/func_module.py old mode 100755 new mode 100644 index aa3c132..5965e24 --- a/func/minion/modules/func_module.py +++ b/func/minion/modules/func_module.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## ## Copyright 2007, Red Hat, Inc ## see AUTHORS diff --git a/func/minion/modules/hardware.py b/func/minion/modules/hardware.py old mode 100755 new mode 100644 index 6c44b39..acf5988 --- a/func/minion/modules/hardware.py +++ b/func/minion/modules/hardware.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## ## Hardware profiler plugin ## requires the "smolt" client package be installed diff --git a/func/minion/modules/mount.py b/func/minion/modules/mount.py index 01e4eab..e8e41ce 100644 --- a/func/minion/modules/mount.py +++ b/func/minion/modules/mount.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## ## Mount manager ## diff --git a/func/minion/modules/process.py b/func/minion/modules/process.py old mode 100755 new mode 100644 index 4659772..4c75251 --- a/func/minion/modules/process.py +++ b/func/minion/modules/process.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## ## Process lister (control TBA) ## diff --git a/func/minion/modules/reboot.py b/func/minion/modules/reboot.py old mode 100755 new mode 100644 diff --git a/func/minion/modules/service.py b/func/minion/modules/service.py old mode 100755 new mode 100644 index 3d3e4a9..d088907 --- a/func/minion/modules/service.py +++ b/func/minion/modules/service.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## func ## ## Copyright 2007, Red Hat, Inc diff --git a/func/minion/modules/smart.py b/func/minion/modules/smart.py old mode 100755 new mode 100644 index ca8f301..e85b90c --- a/func/minion/modules/smart.py +++ b/func/minion/modules/smart.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - ## ## Grabs status from SMART to see if your hard drives are ok ## Returns in the format of (return code, [line1, line2, line3,...]) diff --git a/func/minion/modules/test.py b/func/minion/modules/test.py old mode 100755 new mode 100644 index f900326..3a8c33e --- a/func/minion/modules/test.py +++ b/func/minion/modules/test.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - from modules import func_module class Test(func_module.FuncModule): diff --git a/func/minion/modules/virt.py b/func/minion/modules/virt.py old mode 100755 new mode 100644 index 747ba04..ba888ec --- a/func/minion/modules/virt.py +++ b/func/minion/modules/virt.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - """ Virt management features diff --git a/func/minion/utils.py b/func/minion/utils.py index 7599657..9b0c96a 100755 --- a/func/minion/utils.py +++ b/func/minion/utils.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - """ Copyright 2007, Red Hat, Inc see AUTHORS @@ -197,8 +195,3 @@ def get_acls_from_config(acldir='/etc/func/minion-acl.d'): acls[host].extend(methods) return acls - - - - - -- cgit