From: Guido Günther Date: Wed, 16 Mar 2022 13:39:33 +0000 (+0100) Subject: rpm.policy: Drop non breaking space X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=40b96935c1ac0727fa670636f86e36d8c2d76c74;p=tools%2Fgit-buildpackage.git rpm.policy: Drop non breaking space This trips up pydoctor. Thanks to Carsten Schönert for debugging help --- diff --git a/gbp/rpm/policy.py b/gbp/rpm/policy.py index a667bb7d..a2155e20 100644 --- a/gbp/rpm/policy.py +++ b/gbp/rpm/policy.py @@ -110,7 +110,7 @@ class RpmPkgPolicy(PkgPolicy): @param meta_tags: meta tags to look for @type meta_tags: C{tuple} of C{str} @return: bts-ids per meta tag and the non-mathced lines - @rtype: (C{dict}, C{list} of C{str}) + @rtype: (C{dict}, C{list} of C{str}) """ tags = {} other_lines = [] @@ -142,7 +142,7 @@ class RpmPkgPolicy(PkgPolicy): @param ignore_re: regexp for matching ignored lines @type ignore_re: C{str} @return: filtered commit message - @rtype: C{list} of C{str} + @rtype: C{list} of C{str} """ if ignore_re: match = re.compile(ignore_re) @@ -162,7 +162,7 @@ class RpmPkgPolicy(PkgPolicy): currently we recognize 'full', 'id_len' and 'ignore_re' @type kwargs: C{dict} @return: formatted changelog entry - @rtype: C{list} of C{str} + @rtype: C{list} of C{str} """ # Parse and filter out gbp command meta-tags cmds, body = parse_gbp_commands(commit_info, 'gbp-rpm-ch',