diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-09-08 21:15:07 +0200 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-09-08 21:16:02 +0200 |
commit | 244af42d89f310665d4737644d4335924d87716d (patch) | |
tree | a3be0522e90f3a92b6ffb4155c9301dacb8b21a6 /components/script/dom/bindings/codegen/BindingGen.py | |
parent | ca36779a7e8298918b21ae243a43a71b1520119b (diff) | |
download | servo-244af42d89f310665d4737644d4335924d87716d.tar.gz servo-244af42d89f310665d4737644d4335924d87716d.zip |
Use OS-agnostic filesystem paths in Python
This will eventually need to be done for #1908
Diffstat (limited to 'components/script/dom/bindings/codegen/BindingGen.py')
-rw-r--r-- | components/script/dom/bindings/codegen/BindingGen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/codegen/BindingGen.py b/components/script/dom/bindings/codegen/BindingGen.py index 0649db6f1f9..5debf3e1f0f 100644 --- a/components/script/dom/bindings/codegen/BindingGen.py +++ b/components/script/dom/bindings/codegen/BindingGen.py @@ -3,9 +3,9 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. import sys -sys.path.append("./parser/") -sys.path.append("./ply/") import os +sys.path.append(os.path.join(".", "parser")) +sys.path.append(os.path.join(".", "ply")) import cPickle from Configuration import Configuration from CodegenRust import CGBindingRoot, replaceFileIfChanged |