(self, url)
Look for the number in the supplied string and return it as a URL
Look for the number in the supplied string and return it as a URL
Look for the number in the supplied string and return it as a URL
def callback(self, url):
        """Look for the number in the supplied string and return it as a URL"""
        for item in re.findall(r'[0-9]+', url):
            url = 'https://bugs.launchpad.net/bugs/%s' % item
            return(url)
def callback ( self , url ) : for item in re . findall ( r'[0-9]+' , url ) : url = 'https://bugs.launchpad.net/bugs/%s' % item return ( url )