aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-11-21 20:11:28 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-11-21 20:11:37 -0800
commit0d704e295f5beabe1fc33d6e3777f4006a304678 (patch)
treebeaaf45c7ea2938029580154eaf6de2a64565b20
parent!*dep: Fix handling errors (diff)
downloadrbot-gentoo-0d704e295f5beabe1fc33d6e3777f4006a304678.tar.gz
rbot-gentoo-0d704e295f5beabe1fc33d6e3777f4006a304678.tar.bz2
rbot-gentoo-0d704e295f5beabe1fc33d6e3777f4006a304678.zip
expn: fix split out output per bug #600388
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--gentoo-data.rb2
1 files changed, 1 insertions, 1 deletions
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