except yum.Errors.RepoError, e:
File "/usr/bin/yum-config-manager", line 135
except yum.Errors.RepoError, e:
^
SyntaxError: invalid syntax
vim /usr/bin/yum-config-manager
#!/usr/bin/python -tt
改成这样:#!/usr/bin/python2 -tt