26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
|
From c867bce77f67c562a3f704d58dc7a30042f23081 Mon Sep 17 00:00:00 2001
|
||
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
||
|
Date: Tue, 29 Nov 2011 10:39:05 +0100
|
||
|
Subject: [PATCH] allow semicolon as license separator
|
||
|
|
||
|
---
|
||
|
TagsCheck.py | 2 +-
|
||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||
|
|
||
|
diff --git a/TagsCheck.py b/TagsCheck.py
|
||
|
index 762f465..5140202 100644
|
||
|
--- a/TagsCheck.py
|
||
|
+++ b/TagsCheck.py
|
||
|
@@ -417,7 +417,7 @@ invalid_url_regex = re.compile(Config.getOption('InvalidURL'), re.IGNORECASE)
|
||
|
lib_package_regex = re.compile('(?:^(?:compat-)?lib.*?(\.so.*)?|libs?[\d-]*)$', re.IGNORECASE)
|
||
|
leading_space_regex = re.compile('^\s+')
|
||
|
pkg_config_regex = re.compile('^/usr/(?:lib\d*|share)/pkgconfig/')
|
||
|
-license_regex = re.compile('\(([^)]+)\)|\s(?:and|or)\s')
|
||
|
+license_regex = re.compile('\(([^)]+)\)|\s(?:and|or|;)\s')
|
||
|
invalid_version_regex = re.compile('([0-9](?:rc|alpha|beta|pre).*)', re.IGNORECASE)
|
||
|
# () are here for grouping purpose in the regexp
|
||
|
forbidden_words_regex = re.compile('(' + Config.getOption('ForbiddenWords') + ')', re.IGNORECASE)
|
||
|
--
|
||
|
1.7.7
|
||
|
|