aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-01-26 16:34:42 +0100
committerMichał Górny <mgorny@gentoo.org>2016-01-26 16:34:42 +0100
commitaf11735252f47266fd54b12b9d7a97881f8407e9 (patch)
tree4f2094f2cacc75fba26a90c961c595f85362152d
parent!meta: Do queries using packages.gentoo.org (diff)
downloadrbot-gentoo-af11735252f47266fd54b12b9d7a97881f8407e9.tar.gz
rbot-gentoo-af11735252f47266fd54b12b9d7a97881f8407e9.tar.bz2
rbot-gentoo-af11735252f47266fd54b12b9d7a97881f8407e9.zip
Fix handling ambiguous/no match results for packages
-rw-r--r--gentoo-data.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb
index 1a165c1..0d95650 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -72,6 +72,8 @@ class GentooPlugin < Plugin
else
return pkgs[0]
end
+
+ return nil
end
def pgo_get(m, atom)