From: Ondrej Lichtner <olichtne(a)redhat.com>
Namespace objects shouldn't auto convert to strings using the namespace
name. This can lead to confusion while debugging recipes or lnst code
and trying to print/compare namespace objects.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Controller/Namespace.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lnst/Controller/Namespace.py b/lnst/Controller/Namespace.py
index 3f99eaa..af5bda1 100644
--- a/lnst/Controller/Namespace.py
+++ b/lnst/Controller/Namespace.py
@@ -211,6 +211,3 @@ class Namespace(object):
return True
else:
return False
-
- def __str__(self):
- return str(self.name)
--
2.17.0