From 28b9d2af1dedd61946f693a7478f385d2c7239d0 Mon Sep 17 00:00:00 2001 From: silvernexus Date: Sun, 17 May 2015 19:11:40 +0000 Subject: [PATCH] Adjusted the error message to reflect the name of the script. git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@19934 282e977c-c81d-0410-88c4-b93c2d0d6712 --- ChangeLog | 5 +++++ python/tod/replace_in_map.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 57b5d6ecf..1e2495ec3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-05-17 15:00 Daniel Hawkins (SilverNexus) + + * python/tod/replace_in_map.py: Adjusted error messages that appeared + to refer to an old name for the script. + 2015-05-17 13:01 Daniel Hawkins (SilverNexus) * scorn/houses/resir: Spelling change for stairwell message and diff --git a/python/tod/replace_in_map.py b/python/tod/replace_in_map.py index 88283d5cd..8b6fd597f 100644 --- a/python/tod/replace_in_map.py +++ b/python/tod/replace_in_map.py @@ -14,13 +14,13 @@ current = TimeOfDay() inverse = "inverse" in parameters and parameters["inverse"] == True match = False if not "match" in parameters: - Crossfire.Log(Crossfire.LogError,"Script replace_in_map_period.py didn't get a 'match' parameter. Only got %s" %parameters) + Crossfire.Log(Crossfire.LogError,"Script replace_in_map.py didn't get a 'match' parameter. Only got %s" %parameters) elif parameters["match"].lower() == "one": match=TimeOfDay().matchAny(parameters["when"]) != inverse elif parameters["match"].lower() == "all": match=TimeOfDay().matchAll(parameters["when"]) != inverse else: - Crossfire.Log(Crossfire.LogError,"Script replace_in_map_period.py didn't get a 'match' parameter. Only got %s" %parameters) + Crossfire.Log(Crossfire.LogError,"Script replace_in_map.py didn't get a 'match' parameter. Only got %s" %parameters) #print "match is %s and alreadymatched is %s" %(match,alreadymatched)