diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-15 23:59:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 23:59:07 -0500 |
commit | 75f6cf47c493a916272119cf41b0f16791ec8966 (patch) | |
tree | 091a4fd726e496966ca28bf929046a4c03b887a0 /components/script | |
parent | cb01d37338ed65c9d1e32dc620d67a7ea8cbadcf (diff) | |
parent | 8e12e3ce682650393965844077f428928d9f0db0 (diff) | |
download | servo-75f6cf47c493a916272119cf41b0f16791ec8966.tar.gz servo-75f6cf47c493a916272119cf41b0f16791ec8966.zip |
Auto merge of #12870 - pathway27:master, r=Wafflespeanut
./mach has a formatting error
<!-- Please describe your changes on the following line: -->
Fix for #12766. Couldn't reproduce the exact error.
I explicitly raised urllib2.URLError to get to the print and then tried using many different variable types for e.reason and src but it still didn't throw a coercion error.
So, as @Wafflespeanut said,
> Instead of appending, we can format the values, which (I'm pretty sure) will fix this error.
which is what i've done.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12766, hopefully.
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests they execute before the test runner is installed. Can't test the bootstraping code.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/12870)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions