Projects
Eulaceura:Factory
python2
_service:obs_scm:bugfix-linux_distribution-skip...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:bugfix-linux_distribution-skip-link-file.patch of Package python2
diff -uNrp a/Lib/platform.py b/Lib/platform.py --- a/Lib/platform.py 2019-12-21 15:00:32.420000000 +0800 +++ b/Lib/platform.py 2019-12-21 15:07:14.292000000 +0800 @@ -353,6 +353,8 @@ def linux_distribution(distname='', vers return distname,version,id etc.sort() for file in etc: + if os.path.islink('/etc/'+file): + continue m = _release_filename.match(file) if m is not None: _distname,dummy = m.groups()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2