summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 14:42:15 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 14:42:15 +0000
commitd1d5264c6c89e6d7573e715a7a6c2cf4cae2e5f9 (patch)
treec6f76e969494530d14d9df764045591e4fb99f69 /tool
parentf73aefc6278962cb6ae682113b64e31d22e7d16a (diff)
* tool/redmine-backporter.rb (Readline.readline): drop untreated control
characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/redmine-backporter.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 54cb631543..0bd0b3f898 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -239,8 +239,10 @@ class << Readline
print cls
print line
else
- print c
- line << c
+ if c >= " "
+ print c
+ line << c
+ end
end
end
end