diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-06-15 07:43:06 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-06-15 07:43:06 -0400 |
commit | cee325724cd91a7d780b35a6856618ce7e1739a5 (patch) | |
tree | 204b5412d817dc4383ae09cfebef471816c57f22 | |
parent | 33e36dd2ac03c71c47e8c1841c50ca35c7ef94d4 (diff) | |
download | bcfg2-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.py | 2 |
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) |