Mercurial > repos > greg > validate_temperature_data
changeset 4:9ca3ff390666 draft
Uploaded
author | greg |
---|---|
date | Tue, 27 Nov 2018 09:55:22 -0500 |
parents | 3de939253e55 |
children | 467305a51829 |
files | validate_temperature_data.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/validate_temperature_data.py Tue Nov 27 09:53:52 2018 -0500 +++ b/validate_temperature_data.py Tue Nov 27 09:55:22 2018 -0500 @@ -47,7 +47,7 @@ def validate_integer(line_no, integer_string, accumulated_msgs, label): if integer_string.isdigit(): return accumulated_msgs - return add_error_msg(accumulated_msgs, "Line %d contains an incorrect %s integer value (%s)." % (line_no, label, decimal_string)) + return add_error_msg(accumulated_msgs, "Line %d contains an incorrect %s integer value (%s)." % (line_no, label, integer_string)) def validate_mmdd(line_no, mmdd, accumulated_msgs):