From 0d704e295f5beabe1fc33d6e3777f4006a304678 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 21 Nov 2016 20:11:28 -0800 Subject: expn: fix split out output per bug #600388 Signed-off-by: Robin H. Johnson --- gentoo-data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index e37d376..57cf6e6 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -215,7 +215,7 @@ class GentooPlugin < Plugin #res = @bot.httputil.get('https://dev.gentoo.org/~solar/.alias') res = @bot.httputil.get('https://dev.gentoo.org/.alias.cache') alias_hash = {} - for line in res + for line in res.split("\n") split_line = line.split(' = ') alias_hash[split_line[0]] = split_line[1] end -- cgit v1.2.3-65-gdbad