Troubleshoot Yum Python grabber.py error in CentOS7

To troubleshoot Yum Python grabber.py error in CentOS7:   In CentOS 7.0, you will get errors for grabber.py while running “yum update” command. Please follow the following steps to resolve this issue till next update. 1. Open /usr/lib/python2.7/site-packages/urlgrabber/grabber.py in preferable editor vi /usr/lib/python2.7/site-packages/urlgrabber/grabber.py 2. Go to line number 1510. Below command is for VI editor…