summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Decisions.py
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-06-08 08:16:41 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-06-09 08:09:54 -0500
commita2755d2d1a111ad4e55f88a166a5b02856d363cd (patch)
tree82dabe1dbbe429e9d5cbe554ffb16702a79041d2 /src/lib/Server/Plugins/Decisions.py
parente31f5234256e5234348fc67cf45e6f3462e1fbb8 (diff)
downloadbcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.tar.gz
bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.tar.bz2
bcfg2-a2755d2d1a111ad4e55f88a166a5b02856d363cd.zip
Updated files to match PEP 257
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Decisions.py')
-rw-r--r--src/lib/Server/Plugins/Decisions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Decisions.py b/src/lib/Server/Plugins/Decisions.py
index 1aba88840..1f9525a0e 100644
--- a/src/lib/Server/Plugins/Decisions.py
+++ b/src/lib/Server/Plugins/Decisions.py
@@ -13,12 +13,13 @@ class DecisionFile(Bcfg2.Server.Plugin.SpecificData):
class DecisionSet(Bcfg2.Server.Plugin.EntrySet):
def __init__(self, path, fam, encoding):
- """Container for decision specification files
+ """Container for decision specification files.
Arguments:
- `path`: repository path
- `fam`: reference to the file monitor
- `encoding`: XML character encoding
+
"""
pattern = '(white|black)list'
Bcfg2.Server.Plugin.EntrySet.__init__(self, pattern, path, \
@@ -55,6 +56,7 @@ class Decisions(DecisionSet,
Arguments:
- `core`: Bcfg2.Core instance
- `datastore`: File repository location
+
"""
Bcfg2.Server.Plugin.Plugin.__init__(self, core, datastore)
Bcfg2.Server.Plugin.Decision.__init__(self)