summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugin.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-08-07 20:16:29 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-08-07 20:16:29 +0000
commite3e0d8d72e21f58c23ddf51d5af9d9200ee5037a (patch)
tree41808e40ef91e21ae2f61bc8e5748a43e2bd7088 /src/lib/Server/Plugin.py
parentc548d3ff9ef0bc01c00a3e5068413aca4cce8a46 (diff)
downloadbcfg2-e3e0d8d72e21f58c23ddf51d5af9d9200ee5037a.tar.gz
bcfg2-e3e0d8d72e21f58c23ddf51d5af9d9200ee5037a.tar.bz2
bcfg2-e3e0d8d72e21f58c23ddf51d5af9d9200ee5037a.zip
Implement GetCurrentEntry api for Statistics and DBStats (prereq for portable bcfg2-admin pull)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4869 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugin.py')
-rw-r--r--src/lib/Server/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index 4d95fce49..6e3bc3a7c 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -111,7 +111,7 @@ class StatisticsPlugin(Plugin):
return []
def GetCurrentEntry(self, client, e_type, e_name):
- return None
+ raise PluginExecutionError
# the rest of the file contains classes for coherent file caching