summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2007-11-20 16:28:40 +0100
committerJoel Andres Granados <jgranado@redhat.com>2007-11-20 16:28:40 +0100
commita99422fb962c12adb99cfd62dd9442699b8c09be (patch)
treee47173936f01da0ab5a9278579dc6d21589f4f90 /plugins
parentff0832e65d79e506e64baf472732ad2abf24df7b (diff)
downloadfirstaidkit-a99422fb962c12adb99cfd62dd9442699b8c09be.tar.gz
firstaidkit-a99422fb962c12adb99cfd62dd9442699b8c09be.tar.xz
firstaidkit-a99422fb962c12adb99cfd62dd9442699b8c09be.zip
Erase default so we can create the sample files.
Change the word destroy for purge. It just sounds better.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/default.py52
1 files changed, 0 insertions, 52 deletions
diff --git a/plugins/default.py b/plugins/default.py
deleted file mode 100644
index d1b3b75..0000000
--- a/plugins/default.py
+++ /dev/null
@@ -1,52 +0,0 @@
-# First Aid Kit - diagnostic and repair tool for Linux
-# Copyright (C) 2007 Martin Sivak <msivak@redhat.com>
-#
-# This program 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 2 of the License, or
-# (at your option) any later version.
-#
-# This program 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 this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-from tasker.plugins import Plugin
-
-class Sample1Plugin(Plugin):
- """This plugin uses the predefined flow in the Plugin abstract class."""
- def __init__(self):
- Plugin.__init__(self)
- def init(self):
- self._result=True
- return self._result
-
- def destroy(self):
- self._result=True
- return self._result
-
- def backup(self):
- self._result=True
- return self._result
-
- def restore(self):
- self._result=True
- return self._result
-
- def diagnose(self):
- self._result=True
- return self._result
-
- def fix(self):
- self._result=False
- return self._result
-
-
-
-def get_plugin():
- return Sample1Plugin()
-