diff --git a/bin/publish.py b/bin/publish.py index da7425a..5cf7b16 100755 --- a/bin/publish.py +++ b/bin/publish.py @@ -1,3 +1,4 @@ +#!/usr/bin/python2.4.4 # Imports ---------------------------------------------------------------------- import os, os.path, shutil, re, zipfile, sys, ftplib from appy.shared import appyPath diff --git a/gen/plone25/utils.py b/gen/plone25/utils.py index 7d3a718..bf7fe03 100755 --- a/gen/plone25/utils.py +++ b/gen/plone25/utils.py @@ -14,6 +14,7 @@ def stringify(value): res = value[7:] else: res = "'%s'" % value.replace("'", "\\'") + res = res.replace('\n', '\\n') return res # ------------------------------------------------------------------------------