#49 Fix list_tags function URL
Opened a year ago by nalika. Modified a year ago
nalika/libpagure fix_list_tags  into  master

file modified
+1 -1
@@ -178,7 +178,7 @@ 

          :param pattern: filters the starting letters of the return value

          :return:

          """

-         request_url = "{}tags".format(self.create_basic_url())

+         request_url = "{}git/tags".format(self.create_basic_url())

  

          params = None

          if pattern:

The list_tags function in libpagure does not properly list tags for a provided project. It returns an empty list instead. This is a small change to the request_url in the function to fix it.

Metadata