I've added a regular expression check the value if it contains 
"security.ubuntu.com"
re.search('security\.ubuntu\.com',value)

It could be marked as messy, but I tried it and it works, attached a
debdiff.

Otherwise, to fix this you must change BaseURI and MatchURI as mentioned
in the previous comment

** Attachment added: "python-apt_0.7.4ubuntu7.2.debdiff"
   http://launchpadlibrarian.net/15898601/python-apt_0.7.4ubuntu7.2.debdiff

-- 
Checking security repository in Updates adds deb line to Third-Party Software
https://bugs.launchpad.net/bugs/244093
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

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

Reply via email to