summaryrefslogtreecommitdiffstats
path: root/minion/codes.py
diff options
context:
space:
mode:
authorRobin Norwood <rnorwood@redhat.com>2007-09-25 10:33:03 -0400
committerRobin Norwood <rnorwood@redhat.com>2007-09-25 10:33:03 -0400
commit5024f7f62ff32345660fae783ac7a97d506fe1da (patch)
treef27c302f2593ccd8517730a0d7d45e9832824b00 /minion/codes.py
parent7d543b6cf1d721c2e9f7ed88a230172870a9f558 (diff)
downloadthird_party-func-5024f7f62ff32345660fae783ac7a97d506fe1da.tar.gz
third_party-func-5024f7f62ff32345660fae783ac7a97d506fe1da.tar.xz
third_party-func-5024f7f62ff32345660fae783ac7a97d506fe1da.zip
Renamed server to minion and client to overlord
Diffstat (limited to 'minion/codes.py')
-rwxr-xr-xminion/codes.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/minion/codes.py b/minion/codes.py
new file mode 100755
index 0000000..dc0ceac
--- /dev/null
+++ b/minion/codes.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+"""
+func
+
+Copyright 2007, Red Hat, Inc
+See AUTHORS
+
+This software may be freely redistributed under the terms of the GNU
+general public license.
+
+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.
+"""
+
+import exceptions
+import string
+import sys
+import traceback
+
+
+class FuncException(exceptions.Exception):
+ pass
+
+class InvalidMethodException(FuncException):
+ pass
+
+# FIXME: more sub-exceptions maybe