diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-12-08 13:44:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-08 13:44:47 -0500 |
commit | d17d5adb6d0c198aaad448109260e6197623dbd6 (patch) | |
tree | 225f24ee7d79571f36f04777bf8f0dcb3c0bc26e /components/script_layout_interface/reporter.rs | |
parent | 8fb1b567fa87a66d3a962060716e3be794ea66b2 (diff) | |
parent | 8e1ef081278c738d5f8cf3dc26d19a8fdf05862e (diff) | |
download | servo-d17d5adb6d0c198aaad448109260e6197623dbd6.tar.gz servo-d17d5adb6d0c198aaad448109260e6197623dbd6.zip |
Auto merge of #22390 - cdeler:fixup-linux-mint-issue-with-bootstrap, r=jdm
Fixup the issue related with an incorrect distro version string handling
The original fixes for #21732 had a mistake.
The fix don't work on the LinuxMint with version 19:
```
File "./mach", line 96, in <module>
main(sys.argv)
File "./mach", line 24, in main
sys.exit(mach_bootstrap.bootstrap_command_only(topdir))
File "/home/user/workspace/skv/servo/python/mach_bootstrap.py", line 239, in bootstrap_command_only
bootstrap(context, force)
File "/home/user/workspace/skv/servo/python/servo/bootstrap.py", line 380, in bootstrap
distro, version = get_linux_distribution()
File "/home/user/workspace/skv/servo/python/servo/bootstrap.py", line 349, in get_linux_distribution
major, minor = version.split('.')
ValueError: need more than 1 value to unpack
```
I've fixed that
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #21732
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because _____
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22390)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script_layout_interface/reporter.rs')
0 files changed, 0 insertions, 0 deletions