summaryrefslogtreecommitdiffstats
path: root/cobbler/yaml/dump.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/yaml/dump.py')
-rw-r--r--cobbler/yaml/dump.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/cobbler/yaml/dump.py b/cobbler/yaml/dump.py
index c55dbfe..b8e9d79 100644
--- a/cobbler/yaml/dump.py
+++ b/cobbler/yaml/dump.py
@@ -69,13 +69,15 @@ class Dumper:
def dumpData(self, data):
anchor = self.anchors.shouldAnchor(data)
- if anchor:
- self.output(" &%d" % anchor )
- else:
- anchor = self.anchors.isAlias(data)
- if anchor:
- self.output(" *%d" % anchor )
- return
+ # Disabling anchors because they are lame for strings that the user might want to view/edit -- mdehaan
+ #
+ #if anchor:
+ # self.output(" &%d" % anchor )
+ #else:
+ # anchor = self.anchors.isAlias(data)
+ # if anchor:
+ # self.output(" *%d" % anchor )
+ # return
if (data is None):
self.output(' ~')
elif hasMethod(data, 'to_yaml'):