summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Probes.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-07-02 12:31:10 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-07-02 12:31:10 -0400
commitc6f7025dbc5fd82bcfd6a249bdf05238539bd98a (patch)
tree2a037981f5d5e16b375803d4b7afcc5e9eb55de4 /src/lib/Bcfg2/Server/Plugins/Probes.py
parent227a293af2420de367fc34b510a4c7337f18d93f (diff)
downloadbcfg2-c6f7025dbc5fd82bcfd6a249bdf05238539bd98a.tar.gz
bcfg2-c6f7025dbc5fd82bcfd6a249bdf05238539bd98a.tar.bz2
bcfg2-c6f7025dbc5fd82bcfd6a249bdf05238539bd98a.zip
pep8: fixed tests
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Probes.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Probes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Probes.py b/src/lib/Bcfg2/Server/Plugins/Probes.py
index 0974184b4..407cfc2d4 100644
--- a/src/lib/Bcfg2/Server/Plugins/Probes.py
+++ b/src/lib/Bcfg2/Server/Plugins/Probes.py
@@ -249,7 +249,7 @@ class Probes(Bcfg2.Server.Plugin.Probing,
ProbesDataModel.objects.filter(
hostname=client.hostname).exclude(
- probe__in=self.probedata[client.hostname]).delete()
+ probe__in=self.probedata[client.hostname]).delete()
for group in self.cgroups[client.hostname]:
try:
@@ -264,7 +264,7 @@ class Probes(Bcfg2.Server.Plugin.Probing,
group=group)
ProbesGroupsModel.objects.filter(
hostname=client.hostname).exclude(
- group__in=self.cgroups[client.hostname]).delete()
+ group__in=self.cgroups[client.hostname]).delete()
def load_data(self):
""" Load probe data from the appropriate backend (probed.xml