diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-08-27 16:31:04 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-08-27 16:31:04 +0000 |
commit | 8d7289e17b4eccf2e6dfe3762d35ff9cd72c9bec (patch) | |
tree | c92feffcada269b764d36a8eb7f497dddd5bf1b6 /src/lib/Server | |
parent | 5bc7dc81ec074a6730953403f3a694c1e997321b (diff) | |
download | bcfg2-8d7289e17b4eccf2e6dfe3762d35ff9cd72c9bec.tar.gz bcfg2-8d7289e17b4eccf2e6dfe3762d35ff9cd72c9bec.tar.bz2 bcfg2-8d7289e17b4eccf2e6dfe3762d35ff9cd72c9bec.zip |
Fix dbstats for getExtra
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4894 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/DBStats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/DBStats.py b/src/lib/Server/Plugins/DBStats.py index 85ba2668b..a9686533e 100644 --- a/src/lib/Server/Plugins/DBStats.py +++ b/src/lib/Server/Plugins/DBStats.py @@ -40,7 +40,7 @@ class DBStats(Bcfg2.Server.Plugin.StatisticsPlugin): def GetExtra(self, client): c_inst = Client.objects.filter(name=client)[0] - return [(a.kind, a.name) for a in + return [(a.entry.kind, a.entry.name) for a in c_inst.current_interaction.extra()] def GetCurrentEntry(self, client, e_type, e_name): |