From c203cd61738b4cbcd86d180caed1b9cbb7cce59e Mon Sep 17 00:00:00 2001 From: Yashar Shahi Date: Fri, 10 Mar 2017 21:18:34 +0330 Subject: [PATCH] [modules/pacman] Update url filtering Arch mirrors can also have rsync protocol --- bumblebee/modules/pacman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/pacman.py b/bumblebee/modules/pacman.py index 7b2ebb6..a7780a8 100644 --- a/bumblebee/modules/pacman.py +++ b/bumblebee/modules/pacman.py @@ -27,7 +27,7 @@ def get_pacman_info(widget, path): count = len(repos)*[0] for line in result.splitlines(): - if line.startswith("http"): + if line.startswith(("http", "rsync")): for i in range(len(repos)-1): if "/" + repos[i] + "/" in line: count[i] += 1