Projects
Mega:24.03
gtk-doc
_service:tar_scm:fix-gtkdoc-rebase-NoneType-obj...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-gtkdoc-rebase-NoneType-object-has-no-attribute-group.patch of Package gtk-doc
From 1caecce7002efded6cc3cc95e17372a98189b6f1 Mon Sep 17 00:00:00 2001 From: wang--ge <wang__ge@126.com> Date: Mon, 26 Jul 2021 16:21:42 +0800 Subject: [PATCH] fix gtkdoc-rebase NoneType object has no attribute group error --- gtkdoc/rebase.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtkdoc/rebase.py b/gtkdoc/rebase.py index 31a9b4f..60a8ebf 100755 --- a/gtkdoc/rebase.py +++ b/gtkdoc/rebase.py @@ -228,7 +228,8 @@ def RebaseLink(href, options): package = match.group(1) elif options.aggressive: match = re.search(r'''([^/]+)/$''', href) - package = match.group(1) + if not match is None: + package = match.group(1) if package: if options.online and package in OnlineMap: -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2