[SCM] vlc/experimental: Fix regex and typo

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Mon Dec 11 20:55:40 UTC 2017


The following commit has been merged in the experimental branch:
commit 9bd99ca28983706410fc9f53e193080ff84aaea4
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Mon Dec 11 21:24:10 2017 +0100

    Fix regex and typo

diff --git a/debian/filter-plugin.py b/debian/filter-plugin.py
index 120ebac..84a007c 100644
--- a/debian/filter-plugin.py
+++ b/debian/filter-plugin.py
@@ -14,7 +14,7 @@ if remove_plugins is not None:
 else:
     remove_plugins = set()
 
-plugin_re = re.compile(r"^(\S*) \[([a-zA-Z1-9._-,]*)\]$")
+plugin_re = re.compile(r"^(\S*) \[([a-zA-Z1-9.,_-]*)\]$")
 
 
 for line in sys.stdin.readlines():
@@ -27,5 +27,5 @@ for line in sys.stdin.readlines():
     path = match.group(1)
     plugins = match.group(2)
     plugins = set(plugins.split(','))
-    if not plugin & remove_plugins:
+    if not plugins & remove_plugins:
         print(path)

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list