Skip to content

Use OS-agnostic filesystem paths in Python - #7568

Merged
bors-servo merged 1 commit into
servo:masterfrom
frewsxcv:os-agnostic-paths
Sep 9, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
frewsxcv:os-agnostic-paths

Conversation

@frewsxcv

@frewsxcv frewsxcv commented Sep 8, 2015

Copy link
Copy Markdown
Contributor

This will eventually need to be done for #1908

Review on Reviewable

This will eventually need to be done for servo#1908
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 8, 2015
@jdm

jdm commented Sep 8, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 244af42 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 8, 2015
@SimonSapin

Copy link
Copy Markdown
Member

I’m pretty sure that / works as a path separator on Windows.

@frewsxcv

frewsxcv commented Sep 8, 2015

Copy link
Copy Markdown
Contributor Author

I’m pretty sure that / works as a path separator on Windows.

That might be the case, but I think by default, most of the Python utilities like os.listdir(".") or os.walk(".") will use \ with paths on Windows, so probably better to stay consistent

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 244af42 with merge 8397219...

bors-servo pushed a commit that referenced this pull request Sep 9, 2015
Use OS-agnostic filesystem paths in Python

This will eventually need to be done for #1908

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7568)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 244af42 into servo:master Sep 9, 2015
@Ms2ger

Ms2ger commented Sep 9, 2015

Copy link
Copy Markdown
Contributor

Are we upstream for mach_bootstrap.py?

@frewsxcv

frewsxcv commented Sep 9, 2015

Copy link
Copy Markdown
Contributor Author

If by that you mean, 'is there an associated upstream file for mach_bootstrap.py', in which case I assume the answer is 'no' but I might be wrong.

@metajack

metajack commented Sep 9, 2015

Copy link
Copy Markdown
Collaborator

I originally modified the one from mozilla-central, but it would take a little bit of comparison to determine if these changes are relevant there.

@frewsxcv
frewsxcv deleted the os-agnostic-paths branch October 9, 2015 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants