[PATCH 13/20] list_tags: Fix the docstring

Mathieu Bridon bochecha at fedoraproject.org
Wed Oct 29 12:57:11 UTC 2014


From: Mathieu Bridon <bochecha at daitauha.fr>

The documentation didn't describe the full behaviour. For example,
passing 'foo*' as tagname would match the glob, whereas the docstring
just talks about globs in the '*' case.
---
 src/pyrpkg/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pyrpkg/__init__.py b/src/pyrpkg/__init__.py
index 48edf6c..03fb493 100644
--- a/src/pyrpkg/__init__.py
+++ b/src/pyrpkg/__init__.py
@@ -1384,7 +1384,7 @@ class Commands(object):
     def list_tag(self, tagname=None):
         """Create a list of all tags in the repository which match a given tagname.
 
-        if tagname == '*' all tags will been shown.
+        The optional `tagname` argument may contain a '*' glob.
 
         """
 
-- 
2.1.0



More information about the rel-eng mailing list