From affb24b4f67871eafcd81c7af4bef8898f2679e8 Mon Sep 17 00:00:00 2001 From: Nicky Date: Mon, 12 Dec 2011 21:33:13 +0100 Subject: [PATCH] FIRE-3974; Don't let newlines sneak into LL_CHANNEL. --- scripts/update_version_files.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/update_version_files.py b/scripts/update_version_files.py index ab57792246..a7218fb1d0 100755 --- a/scripts/update_version_files.py +++ b/scripts/update_version_files.py @@ -324,6 +324,10 @@ def main(): VIEWER_CHANNEL = viewer_channel SERVER_CHANNEL = server_channel + # ND: Get rid of newlines that can sneak in on windows. See FIRE-3974 + VIEWER_CHANNEL = VIEWER_CHANNEL.replace( '\r', '' ) + VIEWER_CHANNEL = VIEWER_CHANNEL.replace( '\n', '' ) + # Iterate through all of the files in the map, and apply the # substitution filters for filename in re_map.keys():