summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-15 07:43:06 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-15 07:43:06 -0400
commitcee325724cd91a7d780b35a6856618ce7e1739a5 (patch)
tree204b5412d817dc4383ae09cfebef471816c57f22
parent33e36dd2ac03c71c47e8c1841c50ca35c7ef94d4 (diff)
downloadbcfg2-cee325724cd91a7d780b35a6856618ce7e1739a5.tar.gz
bcfg2-cee325724cd91a7d780b35a6856618ce7e1739a5.tar.bz2
bcfg2-cee325724cd91a7d780b35a6856618ce7e1739a5.zip
fixed ProbeData.__new__ to actually return something
-rw-r--r--src/lib/Server/Plugins/Probes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Probes.py b/src/lib/Server/Plugins/Probes.py
index 64ed4b425..f312b3833 100644
--- a/src/lib/Server/Plugins/Probes.py
+++ b/src/lib/Server/Plugins/Probes.py
@@ -46,7 +46,7 @@ class ProbeData(str):
and .json properties to provide convenient ways to use ProbeData
objects as XML or JSON data """
def __new__(cls, data):
- str.__new__(cls, data)
+ return str.__new__(cls, data)
def __init__(self, data):
str.__init__(self, data)