diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-19 12:16:54 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-19 12:16:54 +0100 |
commit | 8c37c70d218e78468ab5111586e509ad0caa3dcc (patch) | |
tree | c23be9e392192a85c11d011b2aa4264a8affb938 /sources/wiki | |
parent | a009cc00465505ebe0eb0fd59e70be53863daa98 (diff) | |
download | taginfo-8c37c70d218e78468ab5111586e509ad0caa3dcc.tar taginfo-8c37c70d218e78468ab5111586e509ad0caa3dcc.tar.gz |
No need to output to STDERR in import files
Diffstat (limited to 'sources/wiki')
-rwxr-xr-x | sources/wiki/get_image_info.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/wiki/get_image_info.rb b/sources/wiki/get_image_info.rb index 1593bbe..4abd156 100755 --- a/sources/wiki/get_image_info.rb +++ b/sources/wiki/get_image_info.rb @@ -71,7 +71,7 @@ until image_titles.empty? data = api.query(:prop => 'imageinfo', :iiprop => 'url|size|mime', :titles => some_titles.join('|'), :iiurlwidth => 10, :iiurlheight => 10) if !data['query'] - STDERR.puts "Wiki API call failed (no 'query' field):" + puts "Wiki API call failed (no 'query' field):" pp data next end @@ -85,7 +85,7 @@ until image_titles.empty? end if !data['query']['pages'] - STDERR.puts "Wiki API call failed (no 'pages' field):" + puts "Wiki API call failed (no 'pages' field):" pp data next end |