It seems that data is parsed from /usr/share/python-apt/templates/Ubuntu.info
class SourcesList(object):
    """ represents the full sources.list + sources.list.d file """

    def __init__(self,
                 withMatcher=True,
                 matcherPath="/usr/share/python-apt/templates/"):


Which also is part of Source: python-apt

I added hirsute manually there (as attached) and things started working.

** Patch added: "add hirsute to python-apt 
/usr/share/python-apt/templates/Ubuntu.info"
   
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1902540/+attachment/5430564/+files/fix-hirsute-python-apt.diff

** Changed in: python-apt (Ubuntu)
       Status: New => Confirmed

** Changed in: software-properties (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902540

Title:
  hirsute fails on add-apt-repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1902540/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to