src/tools/diagnostics/updatecenter_troubleshooter.py [920:937]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        repoDirectory = "/etc/yum.repos.d/"
        if os.path.exists(repoDirectory) is False:
            self.appendToLogs("Error - Repo Directory /etc/yum.repos.d/ not present", status_debug)
            return None
        
        unixCmd =  "grep -roEh 'https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]' /etc/yum.repos.d"
        (out, err) = self.executeCommand(unixCmd)

        if err != '':
            self.appendToLogs("Error while extracted repos -- " + err, status_debug)
            return None

        repoList = []
        out = out.split("\n")
        for o in out:
            if len(o) > 2:
                repoList.append(o)
        return repoList
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/tools/diagnostics/updatecenter_troubleshooter.py [940:957]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        repoDirectory = "/etc/yum.repos.d/"
        if os.path.exists(repoDirectory) is False:
            self.appendToLogs("Error - Repo Directory /etc/yum.repos.d/ not present", status_debug)
            return None
        
        unixCmd =  "grep -roEh 'https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]*[-A-Za-z0-9+&@#/%=~_|]' /etc/yum.repos.d"
        (out, err) = self.executeCommand(unixCmd)

        if err != '':
            self.appendToLogs("Error while extracted repos -- " + err, status_debug)
            return None

        repoList = []
        out = out.split("\n")
        for o in out:
            if len(o) > 2:
                repoList.append(o)
        return repoList
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



