summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-21 21:48:29 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-21 21:48:29 -0400
commitcdbf1f21095d4fe42d851bc2b7f283054ec26f57 (patch)
tree66fdddfe69251b7535ae14d097bcacb1409a3f02
parent2da5c6fa9340cde1567cf826a004111b3c28f644 (diff)
meta-normalize-stdio: for YOB, use Integer instead of deprecated Fixnumv20170421
-rwxr-xr-xbin/meta-normalize-stdio4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/meta-normalize-stdio b/bin/meta-normalize-stdio
index ac5d51a..69d9ad6 100755
--- a/bin/meta-normalize-stdio
+++ b/bin/meta-normalize-stdio
@@ -113,8 +113,8 @@ end
# Specific validators/formatters
year = lambda {|name, num|
- if !num.is_a?(Fixnum)
- error "`#{name}' must be a year"
+ if !num.is_a?(Integer)
+ error "`#{name}' must be an integer year"
else
if (num < 1900 || num > 3000)
error "`#{name}' is a number, but doesn't look like a year"