summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authormdehaan@mdehaan.rdu.redhat.com <>2007-02-19 13:46:57 -0500
committerJim Meyering <jim@meyering.net>2007-02-19 13:46:57 -0500
commitc8c37ed4f1903b9259d8a013997d45c44d58322f (patch)
tree60a3571a008151a637659faf076664871ebf73be /cobbler
parentfbd232abc00ea43d64f7e30ee03052d10b83328f (diff)
downloadthird_party-cobbler-c8c37ed4f1903b9259d8a013997d45c44d58322f.tar.gz
third_party-cobbler-c8c37ed4f1903b9259d8a013997d45c44d58322f.tar.xz
third_party-cobbler-c8c37ed4f1903b9259d8a013997d45c44d58322f.zip
Fix the backwards compatibility code around TEMPLATE:: and also change
the template files to use basic $placeholders instead of TEMPLATE::
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index 13ddd34..a2343f4 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -466,7 +466,7 @@ class BootSync:
# backward support for Cobbler's legacy (and slightly more readable)
# template syntax.
- data.replace("TEMPLATE::","$")
+ data = data.replace("TEMPLATE::","$")
data = "#errorCatcher Echo\n" + data