diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-01-05 03:24:50 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-01-05 03:24:50 +0000 |
commit | a9388f7859586d5d98e815efdcf8d6a85b973bef (patch) | |
tree | 8adaf09fbd9cc5d4e3cd0dbf69ebcaade4577f76 /src/sbin | |
parent | d3f79b55f57787a75773459dbc70a5504c7ddcf3 (diff) | |
download | bcfg2-a9388f7859586d5d98e815efdcf8d6a85b973bef.tar.gz bcfg2-a9388f7859586d5d98e815efdcf8d6a85b973bef.tar.bz2 bcfg2-a9388f7859586d5d98e815efdcf8d6a85b973bef.zip |
This patch is stage 1 of the plugin capabilities rework
- define new plugin base classes
- switch Plugin.__name__ => Plugin.name
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5004 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-info | 2 | ||||
-rwxr-xr-x | src/sbin/bcfg2-server | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index bf88b1bfe..5c689489b 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -260,7 +260,7 @@ Usage: [quit|exit]""" for etype, names in interested: for name in [name for name in names if name in \ generator.Entries.get(etype, {})]: - data.append((generator.__name__, etype, name)) + data.append((generator.name, etype, name)) printTabular(data) def do_event_debug(self, args): diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server index b190a6e16..fed02bf6b 100755 --- a/src/sbin/bcfg2-server +++ b/src/sbin/bcfg2-server @@ -109,7 +109,7 @@ class Bcfg2Serv(Bcfg2.Component.Component): meta = self.Core.build_metadata(name) for plugin in [p for p in self.Core.plugins.values() \ - if isinstance(p, Bcfg2.Server.Plugin.ProbingPlugin)]: + if isinstance(p, Bcfg2.Server.Plugin.Probing)]: for probe in plugin.GetProbes(meta): resp.append(probe) return tostring(resp, encoding='UTF-8', xml_declaration=True) |