rpm.policy: Drop non breaking space
authorGuido Günther <agx@sigxcpu.org>
Wed, 16 Mar 2022 13:39:33 +0000 (14:39 +0100)
committerGuido Günther <agx@sigxcpu.org>
Wed, 16 Mar 2022 13:47:26 +0000 (14:47 +0100)
This trips up pydoctor.

Thanks to Carsten Schönert for debugging help

gbp/rpm/policy.py

index a667bb7da4a212ce49abc3f40e33a333311deff8..a2155e20e62891149d93bb1fdf6d13865b0ec9d8 100644 (file)
@@ -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',